doom3-gpl
Doom 3 GPL source release
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
Public Member Functions | Protected Attributes | Private Member Functions | List of all members
rvDebuggerServer Class Reference

#include <DebuggerServer.h>

Public Member Functions

 rvDebuggerServer ()
 
 ~rvDebuggerServer ()
 
bool Initialize (void)
 
void Shutdown (void)
 
bool ProcessMessages (void)
 
bool IsConnected (void)
 
void CheckBreakpoints (idInterpreter *interpreter, idProgram *program, int instructionPointer)
 
void Print (const char *text)
 
void OSPathToRelativePath (const char *osPath, idStr &qpath)
 

Protected Attributes

bool mConnected
 
netadr_t mClientAdr
 
idPort mPort
 
idList< rvDebuggerBreakpoint * > mBreakpoints
 
CRITICAL_SECTION mCriticalSection
 
HANDLE mGameThread
 
bool mBreak
 
bool mBreakNext
 
bool mBreakStepOver
 
bool mBreakStepInto
 
int mBreakStepOverDepth
 
const function_tmBreakStepOverFunc1
 
const function_tmBreakStepOverFunc2
 
idProgrammBreakProgram
 
int mBreakInstructionPointer
 
idInterpretermBreakInterpreter
 
idStr mLastStatementFile
 
int mLastStatementLine
 

Private Member Functions

void ClearBreakpoints (void)
 
void Break (idInterpreter *interpreter, idProgram *program, int instructionPointer)
 
void Resume (void)
 
void SendMessage (EDebuggerMessage dbmsg)
 
void SendPacket (void *data, int datasize)
 
void HandleAddBreakpoint (msg_t *msg)
 
void HandleRemoveBreakpoint (msg_t *msg)
 
void HandleResume (msg_t *msg)
 
void HandleInspectVariable (msg_t *msg)
 
void HandleInspectCallstack (msg_t *msg)
 
void HandleInspectThreads (msg_t *msg)
 
void MSG_WriteCallstackFunc (msg_t *msg, const prstack_t *stack)
 

Detailed Description

Definition at line 46 of file DebuggerServer.h.

Constructor & Destructor Documentation

rvDebuggerServer::rvDebuggerServer ( )

Definition at line 47 of file DebuggerServer.cpp.

rvDebuggerServer::~rvDebuggerServer ( )

Definition at line 65 of file DebuggerServer.cpp.

Member Function Documentation

void rvDebuggerServer::Break ( idInterpreter interpreter,
idProgram program,
int  instructionPointer 
)
private

Definition at line 590 of file DebuggerServer.cpp.

void rvDebuggerServer::CheckBreakpoints ( idInterpreter interpreter,
idProgram program,
int  instructionPointer 
)

Definition at line 485 of file DebuggerServer.cpp.

void rvDebuggerServer::ClearBreakpoints ( void  )
private

Definition at line 680 of file DebuggerServer.cpp.

void rvDebuggerServer::HandleAddBreakpoint ( msg_t *  msg)
private

Definition at line 262 of file DebuggerServer.cpp.

void rvDebuggerServer::HandleInspectCallstack ( msg_t *  msg)
private

Definition at line 371 of file DebuggerServer.cpp.

void rvDebuggerServer::HandleInspectThreads ( msg_t *  msg)
private

Definition at line 405 of file DebuggerServer.cpp.

void rvDebuggerServer::HandleInspectVariable ( msg_t *  msg)
private

Definition at line 443 of file DebuggerServer.cpp.

void rvDebuggerServer::HandleRemoveBreakpoint ( msg_t *  msg)
private

Definition at line 292 of file DebuggerServer.cpp.

void rvDebuggerServer::HandleResume ( msg_t *  msg)
private
bool rvDebuggerServer::Initialize ( void  )

Definition at line 77 of file DebuggerServer.cpp.

ID_INLINE bool rvDebuggerServer::IsConnected ( void  )

Definition at line 118 of file DebuggerServer.h.

void rvDebuggerServer::MSG_WriteCallstackFunc ( msg_t *  msg,
const prstack_t stack 
)
private

Definition at line 325 of file DebuggerServer.cpp.

void rvDebuggerServer::OSPathToRelativePath ( const char *  osPath,
idStr qpath 
)

Definition at line 103 of file DebuggerServer.cpp.

void rvDebuggerServer::Print ( const char *  text)

Definition at line 699 of file DebuggerServer.cpp.

bool rvDebuggerServer::ProcessMessages ( void  )

Definition at line 144 of file DebuggerServer.cpp.

void rvDebuggerServer::Resume ( void  )
private

Definition at line 659 of file DebuggerServer.cpp.

void rvDebuggerServer::SendMessage ( EDebuggerMessage  dbmsg)
private

Definition at line 242 of file DebuggerServer.cpp.

ID_INLINE void rvDebuggerServer::SendPacket ( void data,
int  datasize 
)
private

Definition at line 128 of file DebuggerServer.h.

void rvDebuggerServer::Shutdown ( void  )

Definition at line 122 of file DebuggerServer.cpp.

Member Data Documentation

bool rvDebuggerServer::mBreak
protected

Definition at line 77 of file DebuggerServer.h.

int rvDebuggerServer::mBreakInstructionPointer
protected

Definition at line 85 of file DebuggerServer.h.

idInterpreter* rvDebuggerServer::mBreakInterpreter
protected

Definition at line 86 of file DebuggerServer.h.

bool rvDebuggerServer::mBreakNext
protected

Definition at line 78 of file DebuggerServer.h.

idList<rvDebuggerBreakpoint*> rvDebuggerServer::mBreakpoints
protected

Definition at line 72 of file DebuggerServer.h.

idProgram* rvDebuggerServer::mBreakProgram
protected

Definition at line 84 of file DebuggerServer.h.

bool rvDebuggerServer::mBreakStepInto
protected

Definition at line 80 of file DebuggerServer.h.

bool rvDebuggerServer::mBreakStepOver
protected

Definition at line 79 of file DebuggerServer.h.

int rvDebuggerServer::mBreakStepOverDepth
protected

Definition at line 81 of file DebuggerServer.h.

const function_t* rvDebuggerServer::mBreakStepOverFunc1
protected

Definition at line 82 of file DebuggerServer.h.

const function_t* rvDebuggerServer::mBreakStepOverFunc2
protected

Definition at line 83 of file DebuggerServer.h.

netadr_t rvDebuggerServer::mClientAdr
protected

Definition at line 70 of file DebuggerServer.h.

bool rvDebuggerServer::mConnected
protected

Definition at line 69 of file DebuggerServer.h.

CRITICAL_SECTION rvDebuggerServer::mCriticalSection
protected

Definition at line 73 of file DebuggerServer.h.

HANDLE rvDebuggerServer::mGameThread
protected

Definition at line 75 of file DebuggerServer.h.

idStr rvDebuggerServer::mLastStatementFile
protected

Definition at line 88 of file DebuggerServer.h.

int rvDebuggerServer::mLastStatementLine
protected

Definition at line 89 of file DebuggerServer.h.

idPort rvDebuggerServer::mPort
protected

Definition at line 71 of file DebuggerServer.h.


The documentation for this class was generated from the following files: