2 * Copyright 2010, Ingo Weinhold, ingo_weinhold@gmx.de.
3 * Distributed under the terms of the MIT License.
5 #ifndef _TEAM_DEBUGGER_H
6 #define _TEAM_DEBUGGER_H
11 #include <DebugContext.h>
17 class BTeamDebugger
: public BDebugContext
{
22 status_t
Install(team_id team
);
25 status_t
LoadProgram(const char* const* args
,
26 int32 argCount
, bool traceLoading
);
28 status_t
ReadDebugMessage(int32
& _messageCode
,
29 debug_debugger_message_data
& messageBuffer
);
31 port_id
DebuggerPort() const { return fDebuggerPort
; }
34 static thread_id
_LoadProgram(const char* const* args
,
35 int32 argCount
, bool traceLoading
);
36 static status_t
_FindProgram(const char* programName
,
40 port_id fDebuggerPort
;
44 #endif // _TEAM_DEBUGGER_H