wxLuaDebuggerBase Class Reference

#include <wxldserv.h>

Inheritance diagram for wxLuaDebuggerBase:
[legend]
Collaboration diagram for wxLuaDebuggerBase:
[legend]

List of all members.

Public Member Functions

 wxLuaDebuggerBase (int port_number)
virtual ~wxLuaDebuggerBase ()
virtual bool StartServer ()=0
virtual bool StopServer ()=0
virtual long StartClient ()
bool AddBreakPoint (const wxString &fileName, int lineNumber)
bool RemoveBreakPoint (const wxString &fileName, int lineNumber)
bool DisableBreakPoint (const wxString &fileName, int lineNumber)
bool EnableBreakPoint (const wxString &fileName, int lineNumber)
bool ClearAllBreakPoints ()
bool Run (const wxString &fileName, const wxString &buffer)
bool Step ()
bool StepOver ()
bool StepOut ()
bool Continue ()
bool Break ()
bool Reset ()
bool EnumerateStack ()
bool EnumerateStackEntry (int stackEntry)
bool EnumerateTable (int tableRef, int nIndex, long nItemNode)
bool ClearDebugReferences ()
bool EvaluateExpr (int exprRef, const wxString &strExpression)
virtual int HandleDebuggeeEvent (int event_type)
virtual wxLuaSocketBaseGetSocketBase ()=0
virtual bool CheckSocketConnected (bool send_event=true, const wxString &msg=wxEmptyString)
virtual bool CheckSocketRead (bool read_ok, const wxString &msg=wxEmptyString)
virtual bool CheckSocketWrite (bool write_ok, const wxString &msg=wxEmptyString)
virtual wxString GetSocketErrorMsg ()=0
virtual void SendEvent (wxEvent &event)
wxLuaStackDialogGetStackDialog ()
void SetStackDialog (wxLuaStackDialog *stackDialog)
bool DisplayStackDialog (wxWindow *parent, wxWindowID id=wxID_ANY)
void OnDebugStackEnum (wxLuaDebuggerEvent &event)
void OnDebugTableEnum (wxLuaDebuggerEvent &event)
void OnDebugStackEntryEnum (wxLuaDebuggerEvent &event)
void OnEndDebugeeProcess (wxProcessEvent &event)
int GetPortNumber () const
wxLuaDebuggerProcessGetDebuggeeProcess ()
long GetDebuggeeProcessId () const
bool KillDebuggee ()

Static Public Member Functions

static void SetProgramName (const wxString &name)
static wxString GetProgramName ()
static void SetNetworkName (const wxString &name)
static wxString GetNetworkName ()

Public Attributes

int m_port_number
wxLuaStackDialogm_stackDialog
wxLuaDebuggerProcessm_debuggeeProcess
long m_debuggeeProcessID
wxCriticalSection m_acceptSockCritSect
wxCriticalSection m_processCritSect

Static Public Attributes

static wxString sm_programName
static wxString sm_networkName

Private Member Functions

 DECLARE_EVENT_TABLE ()

Friends

class wxLuaDebuggerProcess

Detailed Description

Definition at line 154 of file wxldserv.h.


Constructor & Destructor Documentation

wxLuaDebuggerBase::wxLuaDebuggerBase ( int  port_number  ) 

Definition at line 175 of file wxldserv.cpp.

wxLuaDebuggerBase::~wxLuaDebuggerBase (  )  [virtual]

Member Function Documentation

bool wxLuaDebuggerBase::AddBreakPoint ( const wxString &  fileName,
int  lineNumber 
)
bool wxLuaDebuggerBase::Break (  ) 
bool wxLuaDebuggerBase::CheckSocketConnected ( bool  send_event = true,
const wxString &  msg = wxEmptyString 
) [virtual]
bool wxLuaDebuggerBase::CheckSocketRead ( bool  read_ok,
const wxString &  msg = wxEmptyString 
) [virtual]

Definition at line 537 of file wxldserv.cpp.

References GetSocketErrorMsg(), SendEvent(), and wxLuaDebuggerEvent::SetMessage().

Referenced by HandleDebuggeeEvent().

bool wxLuaDebuggerBase::CheckSocketWrite ( bool  write_ok,
const wxString &  msg = wxEmptyString 
) [virtual]
bool wxLuaDebuggerBase::ClearAllBreakPoints (  ) 
bool wxLuaDebuggerBase::ClearDebugReferences (  ) 
bool wxLuaDebuggerBase::Continue (  ) 
wxLuaDebuggerBase::DECLARE_EVENT_TABLE (  )  [private]
bool wxLuaDebuggerBase::DisableBreakPoint ( const wxString &  fileName,
int  lineNumber 
)
bool wxLuaDebuggerBase::DisplayStackDialog ( wxWindow *  parent,
wxWindowID  id = wxID_ANY 
)

Definition at line 566 of file wxldserv.cpp.

References m_stackDialog.

bool wxLuaDebuggerBase::EnableBreakPoint ( const wxString &  fileName,
int  lineNumber 
)
bool wxLuaDebuggerBase::EnumerateStack (  ) 
bool wxLuaDebuggerBase::EnumerateStackEntry ( int  stackEntry  ) 
bool wxLuaDebuggerBase::EnumerateTable ( int  tableRef,
int  nIndex,
long  nItemNode 
)
bool wxLuaDebuggerBase::EvaluateExpr ( int  exprRef,
const wxString &  strExpression 
)
wxLuaDebuggerProcess* wxLuaDebuggerBase::GetDebuggeeProcess (  ) 

Definition at line 232 of file wxldserv.h.

long wxLuaDebuggerBase::GetDebuggeeProcessId (  )  const

Definition at line 233 of file wxldserv.h.

static wxString wxLuaDebuggerBase::GetNetworkName (  )  [static]
int wxLuaDebuggerBase::GetPortNumber (  )  const

Definition at line 229 of file wxldserv.h.

static wxString wxLuaDebuggerBase::GetProgramName (  )  [static]

Definition at line 241 of file wxldserv.h.

Referenced by StartClient(), and wxLua_wxLuaDebuggerServer_GetProgramName().

virtual wxLuaSocketBase* wxLuaDebuggerBase::GetSocketBase (  )  [pure virtual]
virtual wxString wxLuaDebuggerBase::GetSocketErrorMsg (  )  [pure virtual]

Implemented in wxLuaDebuggerCServer.

Referenced by CheckSocketRead(), and CheckSocketWrite().

wxLuaStackDialog* wxLuaDebuggerBase::GetStackDialog (  ) 

Definition at line 215 of file wxldserv.h.

Referenced by OnDebugStackEntryEnum(), OnDebugStackEnum(), and OnDebugTableEnum().

int wxLuaDebuggerBase::HandleDebuggeeEvent ( int  event_type  )  [virtual]
bool wxLuaDebuggerBase::KillDebuggee (  ) 

Definition at line 621 of file wxldserv.cpp.

References m_debuggeeProcess, m_debuggeeProcessID, and wxLuaDebuggerProcess::m_debugger.

Referenced by StartClient().

void wxLuaDebuggerBase::OnDebugStackEntryEnum ( wxLuaDebuggerEvent event  ) 
void wxLuaDebuggerBase::OnDebugStackEnum ( wxLuaDebuggerEvent event  ) 
void wxLuaDebuggerBase::OnDebugTableEnum ( wxLuaDebuggerEvent event  ) 
void wxLuaDebuggerBase::OnEndDebugeeProcess ( wxProcessEvent &  event  ) 

Definition at line 605 of file wxldserv.cpp.

References m_debuggeeProcess, and wxLuaDebuggerEvent::SetMessage().

Referenced by wxLuaDebuggerProcess::OnTerminate().

bool wxLuaDebuggerBase::RemoveBreakPoint ( const wxString &  fileName,
int  lineNumber 
)
bool wxLuaDebuggerBase::Reset (  ) 
bool wxLuaDebuggerBase::Run ( const wxString &  fileName,
const wxString &  buffer 
)
virtual void wxLuaDebuggerBase::SendEvent ( wxEvent &  event  )  [virtual]
static void wxLuaDebuggerBase::SetNetworkName ( const wxString &  name  )  [static]

Definition at line 247 of file wxldserv.h.

static void wxLuaDebuggerBase::SetProgramName ( const wxString &  name  )  [static]

Definition at line 240 of file wxldserv.h.

void wxLuaDebuggerBase::SetStackDialog ( wxLuaStackDialog stackDialog  ) 

Definition at line 216 of file wxldserv.h.

long wxLuaDebuggerBase::StartClient (  )  [virtual]
virtual bool wxLuaDebuggerBase::StartServer (  )  [pure virtual]

Implemented in wxLuaDebuggerCServer.

bool wxLuaDebuggerBase::Step (  ) 
bool wxLuaDebuggerBase::StepOut (  ) 
bool wxLuaDebuggerBase::StepOver (  ) 
virtual bool wxLuaDebuggerBase::StopServer (  )  [pure virtual]

Implemented in wxLuaDebuggerCServer.


Friends And Related Function Documentation

friend class wxLuaDebuggerProcess [friend]

Definition at line 263 of file wxldserv.h.

Referenced by StartClient().


Member Data Documentation

Definition at line 257 of file wxldserv.h.

Referenced by wxLuaDebuggerCServer::ThreadFunction().

Definition at line 258 of file wxldserv.h.

Definition at line 253 of file wxldserv.h.

Referenced by DisplayStackDialog().

Definition at line 261 of file wxldserv.h.

Definition at line 260 of file wxldserv.h.


The documentation for this class was generated from the following files:
Generated on Tue Jul 13 10:30:39 2010 for wxLua by  doxygen 1.6.3