Skip to main content

%Debugger.Stack

Class %Debugger.Stack Extends %Library.RegisteredObject [ System = 3 ]

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

Overview

The 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 ^IRIS.Temp.SYSDebugger("STACK",id)

Methods

StackVarAtLevelExecute

ClassMethod StackVarAtLevelExecute(ByRef qHandle As %Binary, deb As %Integer, lev As %Integer) As %Status

All stack variables defined at a level.

Return all variables and their current value defined at level N

StackVarAtLevelClose

ClassMethod StackVarAtLevelClose(ByRef qHandle As %Binary) As %Status [ PlaceAfter = StackVarAtLevelExecute ]

StackVarAtLevelFetch

ClassMethod StackVarAtLevelFetch(ByRef qHandle As %Binary, ByRef Row As %List, ByRef AtEnd As %Integer = 0) As %Status [ PlaceAfter = StackVarAtLevelExecute ]

StackVarAtLevel

ClassMethod StackVarAtLevel(ByRef qHandle As %Binary, deb As %Integer, lev As %Integer, start As %String) As %Status