Workspace 6.21.5
Classes | Public Types | Public Slots | Signals | Public Member Functions | Static Public Member Functions | List of all members
ExecutionDebugger Class Reference

#include <Workspace/DataExecution/Execution/executiondebugger.h>

Inherits QObject.

Classes

struct  Breakpoint
 
struct  CallstackFrame
 
struct  Scope
 
struct  Thread
 

Public Types

enum  StepType : int {
  Invalid = 0x0 , Breakpoints = 0x000001 , OperationUpToDate = 0x000010 , OperationOutOfDate = 0x000020 ,
  OperationUpdating = 0x000040 , OperationExecuting = 0x000080 , AnyOperation = OperationUpToDate | OperationOutOfDate | OperationUpdating | OperationExecuting , WorkspaceUpdating = 0x000400 ,
  WorkspaceExecuting = 0x000800 , AnyWorkspace = WorkspaceUpdating | WorkspaceExecuting , InputUpToDate = 0x001000 , InputOutOfDate = 0x002000 ,
  InputUpdating = 0x004000 , AnyInput = InputUpToDate | InputOutOfDate | InputUpdating , OutputUpToDate = 0x010000 , OutputOutOfDate = 0x020000 ,
  OutputUpdating = 0x040000 , AnyOutput = OutputUpToDate | OutputOutOfDate | OutputUpdating , Any = Breakpoints | AnyOperation | AnyWorkspace | AnyInput | AnyOutput
}
 

Public Slots

void enableDebug (bool enabled)
 
void executionEnabled (bool enabled)
 

Signals

void breakpointEnabled (const QUuid &operationId, bool enabled)
 
void changed ()
 
void debugModeToggled (bool enabled)
 

Public Member Functions

void addBreakpoint (QString idPath, QString description, const QUuid &operationId)
 
void breakAt (StepType type)
 
QString currentBreakpoint () const
 
const QThread * getActiveThread () const
 
QList< BreakpointgetBreakpoints () const
 
QList< CallstackFramegetCallstack (const QObject *thread) const
 
bool getDebugEnabled () const
 
const ScopegetScope (const QString &scope) const
 
QList< ThreadgetThreads () const
 
bool isTrapping () const
 
void removeBreakpoint (QString idPath)
 
void setBreakpointEnabled (QString idPath, bool enable)
 
void step (const QObject *thread, StepType type=Invalid)
 
void step (StepType type=Invalid)
 

Static Public Member Functions

static ExecutionDebuggergetInstance ()
 
static QString name (StepType stepType)
 

Member Enumeration Documentation

◆ StepType

enum StepType : int
Enumerator
Invalid 
Breakpoints 
OperationUpToDate 
OperationOutOfDate 
OperationUpdating 
OperationExecuting 
AnyOperation 
WorkspaceUpdating 
WorkspaceExecuting 
AnyWorkspace 
InputUpToDate 
InputOutOfDate 
InputUpdating 
AnyInput 
OutputUpToDate 
OutputOutOfDate 
OutputUpdating 
AnyOutput 
Any 

Member Function Documentation

◆ addBreakpoint()

void addBreakpoint ( QString  idPath,
QString  description,
const QUuid &  operationId 
)

◆ breakAt()

void breakAt ( StepType  type)

◆ breakpointEnabled

void breakpointEnabled ( const QUuid &  operationId,
bool  enabled 
)
signal

◆ changed

void changed ( )
signal

◆ currentBreakpoint()

QString currentBreakpoint ( ) const

◆ debugModeToggled

void debugModeToggled ( bool  enabled)
signal

◆ enableDebug

void enableDebug ( bool  enabled)
slot

◆ executionEnabled

void executionEnabled ( bool  enabled)
slot

◆ getActiveThread()

const QThread * getActiveThread ( ) const

◆ getBreakpoints()

QList< ExecutionDebugger::Breakpoint > getBreakpoints ( ) const

◆ getCallstack()

QList< ExecutionDebugger::CallstackFrame > getCallstack ( const QObject *  thread) const

◆ getDebugEnabled()

bool getDebugEnabled ( ) const

◆ getInstance()

ExecutionDebugger & getInstance ( )
static

◆ getScope()

const ExecutionDebugger::Scope & getScope ( const QString &  scope) const

◆ getThreads()

QList< ExecutionDebugger::Thread > getThreads ( ) const

◆ isTrapping()

bool isTrapping ( ) const

◆ name()

QString name ( StepType  stepType)
static

◆ removeBreakpoint()

void removeBreakpoint ( QString  idPath)

◆ setBreakpointEnabled()

void setBreakpointEnabled ( QString  idPath,
bool  enable 
)

◆ step() [1/2]

void step ( const QObject *  thread,
StepType  type = Invalid 
)

◆ step() [2/2]

void step ( StepType  type = Invalid)