示例#1
0
bool wxLuaDebuggerBase::EnumerateStackEntry(int stackEntry)
{
    return CheckSocketConnected(true, wxT("Debugger EnumerateStackEntry")) && CheckSocketWrite(
           GetSocketBase()->WriteCmd(wxLUA_DEBUGGER_CMD_ENUMERATE_STACK_ENTRY) &&
           GetSocketBase()->WriteInt32(stackEntry),
           wxT("Debugger EnumerateStackEntry"));
}
示例#2
0
bool wxLuaDebuggerBase::EvaluateExpr(int exprRef, const wxString &strExpression)
{
    return CheckSocketConnected(true, wxT("Debugger EvaluateExpr")) && CheckSocketWrite(
           GetSocketBase()->WriteCmd(wxLUA_DEBUGGER_CMD_EVALUATE_EXPR) &&
           GetSocketBase()->WriteInt32(exprRef) &&
           GetSocketBase()->WriteString(strExpression),
           wxT("Debugger EvaluateExpr"));
}
示例#3
0
bool wxLuaDebuggerBase::Run(const wxString &fileName, const wxString &buffer)
{
    return CheckSocketConnected(true, wxT("Debugger Run")) && CheckSocketWrite(
           GetSocketBase()->WriteCmd(wxLUA_DEBUGGER_CMD_RUN_BUFFER) &&
           GetSocketBase()->WriteString(fileName) &&
           GetSocketBase()->WriteString(buffer),
           wxT("Debugger Run"));
}
示例#4
0
bool wxLuaDebuggerBase::EnableBreakPoint(const wxString &fileName, int lineNumber)
{
    return CheckSocketConnected(true, wxT("Debugger EnableBreakPoint")) && CheckSocketWrite(
           GetSocketBase()->WriteCmd(wxLUA_DEBUGGER_CMD_ENABLE_BREAKPOINT) &&
           GetSocketBase()->WriteString(fileName) &&
           GetSocketBase()->WriteInt32(lineNumber),
           wxT("Debugger EnableBreakPoint"));
}
示例#5
0
bool wxLuaDebuggerBase::EnumerateTable(int tableRef, int nIndex, long nItemNode)
{
    return CheckSocketConnected(true, wxT("Debugger EnumerateTable")) && CheckSocketWrite(
           GetSocketBase()->WriteCmd(wxLUA_DEBUGGER_CMD_ENUMERATE_TABLE_REF) &&
           GetSocketBase()->WriteInt32(tableRef) &&
           GetSocketBase()->WriteInt32(nIndex) &&
           GetSocketBase()->WriteLong(nItemNode),
           wxT("Debugger EnumerateTable"));
}
示例#6
0
bool wxLuaDebuggerBase::ClearDebugReferences()
{
    return CheckSocketConnected(true, wxT("Debugger ClearDebugReferences")) && CheckSocketWrite(
           GetSocketBase()->WriteCmd(wxLUA_DEBUGGER_CMD_CLEAR_DEBUG_REFERENCES),
           wxT("Debugger ClearDebugReferences"));
}
示例#7
0
bool wxLuaDebuggerBase::EnumerateStack()
{
    return CheckSocketConnected(true, wxT("Debugger EnumerateStack")) && CheckSocketWrite(
           GetSocketBase()->WriteCmd(wxLUA_DEBUGGER_CMD_ENUMERATE_STACK),
           wxT("Debugger EnumerateStack"));
}
示例#8
0
bool wxLuaDebuggerBase::Reset()
{
    return CheckSocketConnected(true, wxT("Debugger Reset")) && CheckSocketWrite(
           GetSocketBase()->WriteCmd(wxLUA_DEBUGGER_CMD_RESET),
           wxT("Debugger Reset"));
}
示例#9
0
bool wxLuaDebuggerBase::Break()
{
    return CheckSocketConnected(true, wxT("Debugger Break")) && CheckSocketWrite(
           GetSocketBase()->WriteCmd(wxLUA_DEBUGGER_CMD_DEBUG_BREAK),
           wxT("Debugger Break"));
}
示例#10
0
bool wxLuaDebuggerBase::Continue()
{
    return CheckSocketConnected(true, wxT("Debugger Continue")) && CheckSocketWrite(
           GetSocketBase()->WriteCmd(wxLUA_DEBUGGER_CMD_DEBUG_CONTINUE),
           wxT("Debugger Continue"));
}
示例#11
0
bool wxLuaDebuggerBase::StepOut()
{
    return CheckSocketConnected(true, wxT("Debugger StepOut")) && CheckSocketWrite(
           GetSocketBase()->WriteCmd(wxLUA_DEBUGGER_CMD_DEBUG_STEPOUT),
           wxT("Debugger StepOut"));
}
示例#12
0
bool wxLuaDebuggerBase::ClearAllBreakPoints()
{
    return CheckSocketConnected(true, wxT("Debugger ClearAllBreakPoints")) && CheckSocketWrite(
           GetSocketBase()->WriteCmd(wxLUA_DEBUGGER_CMD_CLEAR_ALL_BREAKPOINTS),
           wxT("Debugger ClearAllBreakPoints"));
}
bool wxLuaDebuggerBase::StepOver()
{
    return CheckSocketConnected(true, wxT("Debugger StepOver")) && CheckSocketWrite(
           GetSocketBase()->WriteCmd(wxLUASOCKET_DEBUGGER_CMD_DEBUG_STEPOVER),
           wxT("Debugger StepOver"));
}