Extending Qt Creator Manual | EventCallback

Extending Qt Creator Manual 4.9.1

# EventCallback Class

Header: | #include <EventCallback>

- List of all members, including inherited members

## Public Functions

| EventCallback(IDebugEventCallbacks *wrapped)
virtual | ~EventCallback()

## Reimplemented Public Functions

virtual ULONG | AddRef()
virtual HRESULT | Breakpoint(PDEBUG_BREAKPOINT Bp)
virtual HRESULT | ChangeDebuggeeState(ULONG Flags, ULONG64 Argument)
virtual HRESULT | ChangeEngineState(ULONG Flags, ULONG64 Argument)
virtual HRESULT | ChangeSymbolState(ULONG Flags, ULONG64 Argument)
virtual HRESULT | CreateProcessA(ULONG64 ImageFileHandle, ULONG64 Handle, ULONG64 BaseOffset, ULONG ModuleSize, PCSTR ModuleName, PCSTR ImageName, ULONG CheckSum, ULONG TimeDateStamp, ULONG64 InitialThreadHandle, ULONG64 ThreadDataOffset, ULONG64 StartOffset)
virtual HRESULT | CreateThread(ULONG64 Handle, ULONG64 DataOffset, ULONG64 StartOffset)
virtual HRESULT | Exception(PEXCEPTION_RECORD64 Exception, ULONG FirstChance)
virtual HRESULT | ExitProcess(ULONG ExitCode)
virtual HRESULT | ExitThread(ULONG ExitCode)
virtual HRESULT | GetInterestMask(PULONG mask)
virtual HRESULT | LoadModule(ULONG64 ImageFileHandle, ULONG64 BaseOffset, ULONG ModuleSize, PCSTR ModuleName, PCSTR ImageName, ULONG CheckSum, ULONG TimeDateStamp)
virtual HRESULT | QueryInterface(const IID &InterfaceId, PVOID *Interface)
virtual ULONG | Release()
virtual HRESULT | SessionStatus(ULONG Status)
virtual HRESULT | SystemError(ULONG Error, ULONG Level)
virtual HRESULT | UnloadModule(PCSTR ImageBaseName, ULONG64 BaseOffset)

## Detailed Description

Event handler wrapping the original IDebugEventCallbacks to catch and store exceptions (report crashes as stop reasons).

## Member Function Documentation

### EventCallback::EventCallback(IDebugEventCallbacks *wrapped)

Default constructs an instance of EventCallback.

### `[virtual]` EventCallback::~EventCallback()

Destroys the instance of EventCallback. The destructor is virtual.

### `[virtual]` ULONG EventCallback::AddRef()

### `[virtual]` HRESULT EventCallback::Breakpoint(PDEBUG_BREAKPOINT Bp)

### `[virtual]` HRESULT EventCallback::ChangeDebuggeeState(ULONG Flags, ULONG64 Argument)

### `[virtual]` HRESULT EventCallback::ChangeEngineState(ULONG Flags, ULONG64 Argument)

### `[virtual]` HRESULT EventCallback::ChangeSymbolState(ULONG Flags, ULONG64 Argument)

### `[virtual]` HRESULT EventCallback::CreateProcessA(ULONG64 ImageFileHandle, ULONG64 Handle, ULONG64 BaseOffset, ULONG ModuleSize, PCSTR ModuleName, PCSTR ImageName, ULONG CheckSum, ULONG TimeDateStamp, ULONG64 InitialThreadHandle, ULONG64 ThreadDataOffset, ULONG64 StartOffset)

### `[virtual]` HRESULT EventCallback::CreateThread(ULONG64 Handle, ULONG64 DataOffset, ULONG64 StartOffset)

### `[virtual]` HRESULT EventCallback::Exception(PEXCEPTION_RECORD64 Exception, ULONG FirstChance)

### `[virtual]` HRESULT EventCallback::ExitProcess(ULONG ExitCode)

### `[virtual]` HRESULT EventCallback::ExitThread(ULONG ExitCode)

### `[virtual]` HRESULT EventCallback::GetInterestMask(PULONG mask)

### `[virtual]` HRESULT EventCallback::LoadModule(ULONG64 ImageFileHandle, ULONG64 BaseOffset, ULONG ModuleSize, PCSTR ModuleName, PCSTR ImageName, ULONG CheckSum, ULONG TimeDateStamp)

### `[virtual]` HRESULT EventCallback::QueryInterface(const IID &InterfaceId, PVOID *Interface)

### `[virtual]` ULONG EventCallback::Release()

### `[virtual]` HRESULT EventCallback::SessionStatus(ULONG Status)

### `[virtual]` HRESULT EventCallback::SystemError(ULONG Error, ULONG Level)

### `[virtual]` HRESULT EventCallback::UnloadModule(PCSTR ImageBaseName, ULONG64 BaseOffset)