User forums > Using Code::Blocks

debug plugin

<< < (3/3)

DoMeN:
I've found one of the problems and submited the patch to berilOS: 001855. But there seems to be more problems. Could someone confirm that this setting works for all gdbs on linux not just mine which is patched.


--- Code: ------ src/plugins/debuggergdb/gdb_driver.cpp      2007-01-25 16:11:54.000000000 +0100
+++ src/plugins/debuggergdb/gdb_driver.cpp      2007-01-25 16:15:38.000000000 +0100
@@ -375,7 +375,7 @@
     }
 #else
     m_BreakOnEntry = breakOnEntry;
-    m_ManualBreakOnEntry = true;
+    m_ManualBreakOnEntry = false;

     if (!Manager::Get()->GetConfigManager(_T("debugger"))->ReadBool(_T("do_not_run"), false))
     {

--- End code ---

DoMeN:
The reason why I havent noticed this before is that before #if (defined( __LINUX__) || defined(__WXMAC__)) was used instead of #if (defined( __WXMSW__) || defined(__WXMAC__)) so this part of the code wasnt even compiled as I am using LInux.

DoMeN:
I've found the second problem and it was in my gdb. It didn't execute run command propperly. Now it works  :D

r. Domen

Navigation

[0] Message Index

[*] Previous page

Go to full version