Skip to content

Commit a68a274

Browse files
committed
PythonDebugger: Fix bug preventing the stack trace from showing (Don't request polling on dispatched commands until the last debug command of a group is sent)
1 parent 4cbc955 commit a68a274

1 file changed

Lines changed: 5 additions & 5 deletions

File tree

PythonDebugger/PythonDebugger.cpp

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -147,17 +147,17 @@ void PythonDebugger::DispatchWatchCommands()
147147
wxString s;
148148
w->GetSymbol(s);
149149
command=_T("ps ")+s+_T("\n");
150-
DispatchCommands(command,DBGCMDTYPE_WATCHEXPRESSION);
150+
DispatchCommands(command,DBGCMDTYPE_WATCHEXPRESSION,false);
151151
if (w->IsExpanded())
152152
{
153153
command=_T("pm ")+s+_T("\n");
154-
DispatchCommands(command,DBGCMDTYPE_WATCHGETCHILDREN);
154+
DispatchCommands(command,DBGCMDTYPE_WATCHGETCHILDREN,false);
155155
}
156156
}
157157
if (m_locals_watch->IsExpanded())
158158
{
159159
command=_T("pl *Locals:\n");
160-
DispatchCommands(command,DBGCMDTYPE_WATCHGETCHILDREN);
160+
DispatchCommands(command,DBGCMDTYPE_WATCHGETCHILDREN,false);
161161
}
162162
}
163163

@@ -705,8 +705,8 @@ void PythonDebugger::Stop()
705705

706706
bool PythonDebugger::RunToCursor(const wxString& filename, int line, const wxString& line_text)
707707
{
708-
if(filename!=m_curfile)
709-
return false;
708+
// if(filename!=m_curfile)
709+
// return false;
710710
if(!m_DebuggerActive)
711711
return false;
712712
wxString sfile=filename;

0 commit comments

Comments
 (0)