Debugger/DebugUI.py

changeset 2171
c7dd548d67d8
parent 2170
f4e0f6133ace
child 2191
7c7251ce9497
--- a/Debugger/DebugUI.py	Thu Nov 01 15:31:06 2012 +0100
+++ b/Debugger/DebugUI.py	Thu Nov 01 18:29:58 2012 +0100
@@ -1778,8 +1778,8 @@
                 
                 # Ask the client to send call trace info
                 enableCallTrace = self.debugViewer.isCallTraceEnabled()
-                if enableCallTrace:
-                    self.debugViewer.clearCallTrace()
+                self.debugViewer.clearCallTrace()
+                self.debugViewer.setCallTraceToProjectMode(debugProject)
                 
                 # Ask the client to open the new program.
                 self.debugServer.remoteLoad(fn, argv, wd, env,
@@ -1835,8 +1835,8 @@
             if self.lastStartAction in [1, 2]:
                 # Ask the client to send call trace info
                 enableCallTrace = self.debugViewer.isCallTraceEnabled()
-                if enableCallTrace:
-                    self.debugViewer.clearCallTrace()
+                self.debugViewer.clearCallTrace()
+                self.debugViewer.setCallTraceToProjectMode(forProject)
                 
                 # Ask the client to debug the new program.
                 self.debugServer.remoteLoad(fn, argv, wd, env,

eric ide

mercurial