Patch #2968 2010-03-29 01:26

loaden

Support 'step in' and 'step out' when use CDB
Download
2968-Support_step_i.patch (627 bytes)
Category
Application::FeatureAdd
Status
Accepted
Close date
2010-10-13 13:01
Assigned to
 
Index: src/plugins/debuggergdb/cdb_driver.cpp
===================================================================
--- src/plugins/debuggergdb/cdb_driver.cpp    (revision 6196)
+++ src/plugins/debuggergdb/cdb_driver.cpp    (working copy)
@@ -147,14 +147,15 @@
 void CDB_driver::StepIn()
 {
     ResetCursor();
-//    QueueCommand(new DebuggerCmd(this, _T("step")));
-    NOT_IMPLEMENTED();
+    QueueCommand(new DebuggerCmd(this, _T("t")));
+    Step();
 }
 
 void CDB_driver::StepOut()
 {
     ResetCursor();
-    NOT_IMPLEMENTED();
+    QueueCommand(new DebuggerCmd(this, _T("gu")));
+    Step();
 }
 
 void CDB_driver::Backtrace()
loaden 2010-03-29 01:27