diff --git a/src/apps/debugger/debugger_interface/DebugEvent.cpp b/src/apps/debugger/debugger_interface/DebugEvent.cpp index 5538550813..0891249d44 100644 --- a/src/apps/debugger/debugger_interface/DebugEvent.cpp +++ b/src/apps/debugger/debugger_interface/DebugEvent.cpp @@ -115,7 +115,7 @@ SingleStepEvent::SingleStepEvent(team_id team, thread_id thread, ExceptionOccurredEvent::ExceptionOccurredEvent(team_id team, thread_id thread, - uint32 exception) + debug_exception_type exception) : DebugEvent(B_DEBUGGER_MESSAGE_EXCEPTION_OCCURRED, team, thread), fException(exception) diff --git a/src/apps/debugger/debugger_interface/DebugEvent.h b/src/apps/debugger/debugger_interface/DebugEvent.h index c53087c0bf..f81a5e4ee9 100644 --- a/src/apps/debugger/debugger_interface/DebugEvent.h +++ b/src/apps/debugger/debugger_interface/DebugEvent.h @@ -92,12 +92,13 @@ public: class ExceptionOccurredEvent : public DebugEvent { public: ExceptionOccurredEvent(team_id team, - thread_id thread, uint32 exception); + thread_id thread, + debug_exception_type exception); - uint32 Exception() const { return fException; } + debug_exception_type Exception() const { return fException; } private: - uint32 fException; + debug_exception_type fException; };