%Studio.Debugger
class %Studio.Debugger extends %Library.RegisteredObject
This class is used internally by Caché. 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.Studio debugging interface.
Property Inventory
Method Inventory
- Attach()
- AttachToCSP()
- Break()
- ClearBreakpoints()
- DBGCommand()
- DisableBreakpoint()
- DisableWatchpoint()
- Eval()
- GetCSPAttachID()
- GetInfo()
- GetOffset()
- GetSource()
- GetStack()
- GetStackId()
- GetValue()
- Go()
- GoTo()
- INTLine()
- Interrupt()
- IsStopped()
- Line()
- LineIn()
- LineOut()
- MappedFromLine()
- MappedFromPos()
- MappedOffset()
- Pid()
- ProcessListClose()
- ProcessListExecute()
- ProcessListFetch()
- RemoveBreakpoint()
- RemoveWatchpoint()
- RoutineMap()
- SetBreakpoint()
- SetBreakpointsFromProject()
- SetValue()
- SetWatchpoint()
- SourceLine()
- StartTarget()
- Step()
- StepIn()
- StepOut()
- Unattach()
- ViewAsBinary()
- WatchListClose()
- WatchListExecute()
- WatchListFetch()
- WatchListOrefClose()
- WatchListOrefExecute()
- WatchListOrefFetch()
- WriteTarget()
Properties
Methods
Fails if already attached (use Unattach() first),or if pid is invalid.
On successful completion, process is attached and a break issued. The process will be in break mode upon completion of its current operation.
A successful return indicates the target will be in break mode on completion of the current command.
Issue IsStopped to determine if target is in break mode.
- 0 - Ok
- 1 - Line given is not mapped so returning the next mapped line as breakpoint instead
- 2 - No mapping found at all, nothing returned
Set sc=##class(%Studio.Debugger).INTLine("User.Test.CLS","MyMethod",3,.intname,.intline,.returntype)
routineName.routineType,label,line,namespace
routineName,label,beginCmdLine,beginCmdOffset,endCmdLine,endCmdOffset,beginArgLine,beginArgOffset,endArgLine,endArgOffset,Namespace
routineName,label,beginCmdLine,beginCmdOffset,endCmdLine,endCmdOffset,beginArgLine,beginArgOffset,endArgLine,endArgOffset,Namespace
Returns 1 if successful, 0 if not mapped to current
Return 0 if project=NULL, else return status code from SetBreakpoint
map(type,StartEnd)=$listbuild(sourceName,sourceLabel,sourceLine,Offset,Namespace)
Where StartEnd is 1 for the start of the map and 2 for the end, sourceName is the name of the source file, sourceLabel is the method/label name, sourceLine is the number of lines from this label to the location, Offset is the offset on the line, Namespace is the location of the source file.
Returns $$$OK if successful, $$$ERROR if nothing to detach from
Queries
Inherited Members
Inherited Methods
- %AddToSaveSet()
- %ClassIsLatestVersion()
- %ClassName()
- %ConstructClone()
- %DispatchClassMethod()
- %DispatchGetModified()
- %DispatchGetProperty()
- %DispatchMethod()
- %DispatchSetModified()
- %DispatchSetMultidimProperty()
- %DispatchSetProperty()
- %Extends()
- %GetParameter()
- %IsA()
- %IsModified()
- %New()
- %NormalizeObject()
- %ObjectModified()
- %OriginalNamespace()
- %PackageName()
- %RemoveFromSaveSet()
- %SerializeObject()
- %SetModified()
- %ValidateObject()