Skip to main content


class %Debugger.Stack extends %Library.RegisteredObject

This class is used internally by InterSystems. You should not make direct use of it within your applications. There is no guarantee made about either the behavior or future operation of this class.

System Debugger Stack Queries

The Caché system debugger provides several queries for examining the stack of a process.

All the queries take a identifier as an argument. The identifier is returned from the debugstack^%STACK routine.

Call debugstack^%STACK(id)

The identifier is returned in ^CacheTemp.SYSDebugger("STACK",id)

Method Inventory


classmethod StackVarAtLevel(ByRef qHandle As %Binary, deb As %Integer, lev As %Integer, start As %String) as %Status
classmethod StackVarAtLevelClose(ByRef qHandle As %Binary) as %Status
classmethod StackVarAtLevelExecute(ByRef qHandle As %Binary, deb As %Integer, lev As %Integer) as %Status
classmethod StackVarAtLevelFetch(ByRef qHandle As %Binary, ByRef Row As %List, ByRef AtEnd As %Integer = 0) as %Status


query StackVarAtLevel(deb As %Integer, lev As %String = 1)
Selects Variable As %String, Value As %String
All stack variables defined at a level.

Return all variables and their current value defined at level N

Inherited Members

Inherited Methods

FeedbackOpens in a new tab