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

Splitting debugger in two - specific debugger and common GUI

<< < (55/136) > >>

oBFusCATed:
No time, it is on the TODO...

oBFusCATed:
Next patch: http://smrt.is-a-geek.org/codeblocks/patches/dbg/dbg_refactor0016.9.patch

Two disassembly problems:
1. No disassembly was displayed if gdb emits some warnings before the real result from the "info frame" command
2. There was no yellow marker on windows. It seems that %p doesn't generate 0x in front of the printed address in wxString::Format.

There many more problems with the disassembly window, but at least it is a bit more usable now.

oBFusCATed:
no pch patch:


--- Code: ---Index: src/sdk/cbplugin.cpp
===================================================================
--- src/sdk/cbplugin.cpp        (revision 6634)
+++ src/sdk/cbplugin.cpp        (working copy)
@@ -22,6 +22,9 @@
     #include "editormanager.h"
     #include "cbeditor.h"
     #include "projectmanager.h"
+    #include "infowindow.h"
+    #include "macrosmanager.h"
+    #include "configmanager.h"
 #endif
 
 #include <wx/toolbar.h>
Index: src/sdk/watchesdlg.cpp
===================================================================
--- src/sdk/watchesdlg.cpp      (revision 6634)
+++ src/sdk/watchesdlg.cpp      (working copy)
@@ -9,9 +9,11 @@
 
 #include "sdk_precomp.h"
 #ifndef CB_PRECOMP
+    #include <wx/dnd.h>
     #include <wx/menu.h>
     #include <wx/sizer.h>
 
+    #include "cbexception.h"
     #include "cbplugin.h"
     #include "logmanager.h"
     #include "scrollingdialog.h"
Index: src/plugins/debuggergdb/cdb_driver.cpp
===================================================================
--- src/plugins/debuggergdb/cdb_driver.cpp      (revision 6634)
+++ src/plugins/debuggergdb/cdb_driver.cpp      (working copy)
@@ -8,6 +8,11 @@
  */
 
 #include <sdk.h>
+
+#ifndef CB_PRECOMP
+    #include "logmanager.h"
+#endif
+
 #include "cdb_driver.h"
 #include "cdb_commands.h"
 


--- End code ---

oBFusCATed:
Next patch: http://smrt.is-a-geek.org/codeblocks/patches/dbg/dbg_refactor0016.10.patch

1. Added tooltips to the watches window
2. Enabled the tooltips in the wxPG, please fix the windows project to enable them, too

Morten do you plan to add the svn tree, the test project for the debugger plugin?

cbexaminr:

--- Quote from: oBFusCATed on September 20, 2010, 11:43:56 pm ---There many more problems with the disassembly window, but at least it is a bit more usable now.

--- End quote ---

Here's a patch to hopefully improve the disassembly stepping display (some fixes, some enhancements.)
1)Avoid unnecessary re-disassembling
2)change (correct?) check for "current" line address
3)correct code that checked for UpdateBackTrace() and then updated disassembly window
4)Changes to window "current" line position handling
5)support for mixed mode disassembly (currently only available as compilation option)
6)Add calls to NotifyCursorChanged() for cmd_step_instr and cmd_step_into_instr

Anybody interested in trying this?  (so far I've only tried winxp sp2, wxwidgets 2.8.10)

patch against wxpropgrid_debugger branch svn R6634

Navigation

[0] Message Index

[#] Next page

[*] Previous page

Go to full version