| | |
| | | // such as stopping at a breakpoint, and non-critical information, such as a
|
| | | // debugging message."
|
| | | {
|
| | | public Guid InterfaceId { get; protected set; }
|
| | | public uint Attributes { get; protected set; }
|
| | | private Guid InterfaceId { get; }
|
| | | private uint Attributes { get; }
|
| | |
|
| | | protected const uint ASYNCHRONOUS = (uint)enum_EVENTATTRIBUTES.EVENT_ASYNCHRONOUS;
|
| | | protected const uint STOPPING = (uint)enum_EVENTATTRIBUTES.EVENT_ASYNC_STOP;
|
| | |
| | | (uint)enum_EVENTATTRIBUTES.EVENT_STOPPING
|
| | | | (uint)enum_EVENTATTRIBUTES.EVENT_SYNCHRONOUS;
|
| | |
|
| | | protected QmlEngine Engine { get; set; }
|
| | | protected IDebugProgram2 Program { get; set; }
|
| | | protected IDebugThread2 Thread { get; set; }
|
| | | protected IDebugEventCallback2 Callback { get; set; }
|
| | | protected QmlEngine Engine { get; }
|
| | | private IDebugProgram2 Program { get; }
|
| | | private IDebugThread2 Thread { get; }
|
| | | private IDebugEventCallback2 Callback { get; }
|
| | |
|
| | | protected DebugEvent(
|
| | | QmlEngine engine,
|
| | |
| | |
|
| | | class ProgramDestroyEvent : DebugEvent, IDebugProgramDestroyEvent2
|
| | | {
|
| | | uint exitCode;
|
| | | public new Program Program { get; private set; }
|
| | | readonly uint exitCode;
|
| | | public Program Program { get; }
|
| | |
|
| | | public ProgramDestroyEvent(Program program, uint exitCode)
|
| | | : base(program.Engine, typeof(IDebugProgramDestroyEvent2).GUID,
|
| | |
| | |
|
| | | class ThreadDestroyEvent : DebugEvent, IDebugThreadDestroyEvent2
|
| | | {
|
| | | uint exitCode;
|
| | | readonly uint exitCode;
|
| | |
|
| | | public ThreadDestroyEvent(Program program, uint exitCode)
|
| | | : base(program.Engine, typeof(IDebugThreadDestroyEvent2).GUID,
|
| | |
| | |
|
| | | class BreakpointBoundEvent : DebugEvent, IDebugBreakpointBoundEvent2
|
| | | {
|
| | | public Breakpoint Breakpoint { get; private set; }
|
| | | private Breakpoint Breakpoint { get; }
|
| | | public BreakpointBoundEvent(Breakpoint breakpoint)
|
| | | : base(breakpoint.Program.Engine, typeof(IDebugBreakpointBoundEvent2).GUID,
|
| | | ASYNCHRONOUS, breakpoint.Program, breakpoint.Program)
|
| | |
| | |
|
| | | class BreakpointEvent : DebugEvent, IDebugBreakpointEvent2
|
| | | {
|
| | | IEnumDebugBoundBreakpoints2 boundBreakpoints;
|
| | | readonly IEnumDebugBoundBreakpoints2 boundBreakpoints;
|
| | |
|
| | | public BreakpointEvent(Program program,
|
| | | IEnumDebugBoundBreakpoints2 boundBreakpoints)
|
| | |
| | |
|
| | | class ExpressionEvaluationCompleteEvent : DebugEvent, IDebugExpressionEvaluationCompleteEvent2
|
| | | {
|
| | | public Expression Expression { get; private set; }
|
| | | public Property Property { get; private set; }
|
| | | private Expression Expression { get; }
|
| | | private Property Property { get; }
|
| | |
|
| | | public ExpressionEvaluationCompleteEvent(
|
| | | IDebugEventCallback2 callback,
|
| | |
| | |
|
| | | class OutputStringEvent : DebugEvent, IDebugOutputStringEvent2
|
| | | {
|
| | | string outputString;
|
| | | readonly string outputString;
|
| | |
|
| | | public OutputStringEvent(QmlEngine engine, string outputString)
|
| | | : base(engine, typeof(IDebugOutputStringEvent2).GUID, ASYNCHRONOUS)
|