Developer forums (C::B DEVELOPMENT STRICTLY!) > Development

Splitting debugger in two - specific debugger and common GUI

<< < (91/136) > >>

oBFusCATed:
I've tried gdb 6.8 on windows and it works, so I've removed it.
Older GDB's won't work and are unsupported anyway... (don't remember the reasons why :) )

oBFusCATed:

--- Quote from: dmoore on March 03, 2011, 03:45:24 pm ---not sure why you are setting them to empty strings...

--- End quote ---
Because I don't generate default debugger configurations to match all the compilers.
And for the default debugger in every compiler I reuse the old field for the debugger's executable.
I can add new field for the compiler's default config, so the old one won't be messed up. The messing up happens only when the default.conf is created, if you have something there and you don't change '--- invalid configuration---' to something valid, the value is preserved.
So if you have new C::B and old C::B, when you switch to old C::B the debugger executable will be correctly set.

oBFusCATed:
Patch for the unix test project


--- Code: ---Index: src/plugins/debuggergdb/debuggergdb_test-unix.cbp
===================================================================
--- src/plugins/debuggergdb/debuggergdb_test-unix.cbp (revision 7038)
+++ src/plugins/debuggergdb/debuggergdb_test-unix.cbp (working copy)
@@ -31,7 +31,8 @@
  <Add directory="$(#unittest_pp)/src" />
  <Add directory="." />
  <Add directory="../../include" />
- <Add directory="../../devel" />
+ <Add directory="../../include/scripting/include" />
+ <Add directory="../../include/scripting/sqplus" />
  </Compiler>
  <Linker>
  <Add option="`wx-config --libs`" />
@@ -46,6 +47,8 @@
  </ExtraCommands>
  <Unit filename="debugger_defs.cpp" />
  <Unit filename="debugger_defs.h" />
+ <Unit filename="debuggergdb_test_backtrace.cpp" />
+ <Unit filename="debuggergdb_test_common.h" />
  <Unit filename="debuggergdb_test_main.cpp" />
  <Unit filename="debuggergdb_test_parser.cpp" />
  <Unit filename="debuggeroptionsprjdlg.h" />

--- End code ---

Edit: also a patch to disable the compilation of the resource file:

--- Code: ---Index: src/CodeBlocks-unix.cbp
===================================================================
--- src/CodeBlocks-unix.cbp (revision 7038)
+++ src/CodeBlocks-unix.cbp (working copy)
@@ -3286,6 +3304,8 @@
  </Unit>
  <Unit filename="src/resources/resources.rc">
  <Option compilerVar="WINDRES" />
+ <Option compile="0" />
+ <Option link="0" />
  <Option target="src" />
  </Unit>
  <Unit filename="src/resources/scripting_settings.xrc">

--- End code ---
(There is a chance it won't apply)


Edit2: Here is the fixed 20.0.patch: http://smrt.is-a-geek.org/codeblocks/patches/dbg/dbg_refactor0020.1.patch

xhpohanka:
Hello,
thank you for the hard work on debugger in CB.
I have one question regarding the automatic dereferencing of the watches -> I mean will there be a feature, which allows to automatically expand watched pointer to a struct?
I use CB on windows with mingw32 gdb.

regards, Jan

oBFusCATed:
No (99% probability), with the current plugin.
If the gdb/mi plugin is finished in the future, it will do it automatically (already does).

Navigation

[0] Message Index

[#] Next page

[*] Previous page

Go to full version