Developer forums (C::B DEVELOPMENT STRICTLY!) > Plugins development

someone working on CDB debugger?

<< < (3/12) > >>

Martin K.:

--- Quote from: oBFusCATed on October 01, 2012, 07:32:17 pm ---
--- Quote from: Martin K. on October 01, 2012, 12:39:27 pm ---I will work around this problem in my funktion until someone other fixes the behaviour of  ExamineMemoryDlg::AddHexByte().

--- End quote ---
Why not fixing the AddHexByte directly?

--- End quote ---

My main problem is the CDB plugin currently and i can work on it only on my spare time. The "workaround" is currently faster for me, so i don't have to check other things that i'm not know currently. But i can note this problem on my list and can come back later to it.

Martin

Martin K.:
Hi,

I have prepared a first version of the CDB Debugger plugin. Maybe someone is able to have a look on it.

https://www.dropbox.com/s/ds1b5rr7ouhhvsl/debugger_cdb.zip


This plugin is based on the new Code::Blocks debugger plugin structure, based on debugger_gdbmi.
The Debugger is driven on its commandline version CDB.exe.

It is not yet completed, but it seems to work. available functions so far:
- start a debuggee, break into it, stop it
- set unconditinal Breakpoints and delete it
- shows tooltip watches
- set simple watches and delete it
- show threads
- show backtrace
- show memory dump
- show cpu registers

Overall performance seems to be OK.

unavailable functions:
- Breakpoint and watches are needing further improvements.
- There are no Data Brakpoints and no conditional Breakpoints.
- Run to cursor isn't implemented.
- Attach to/detach from process isn't implemented.
- Disassembly isn't implemented.
- The display of watches is currently the output of the debugger,
  pretty printig whould be nice.

Tested with
- Code::Blocks rev 8383, rev 8397 and rev 8431.
- CDB Version 6.12.0002.633 X86
on windows XP SP3 32Bit and Windows 7 64Bit

Martin

oBFusCATed:

--- Quote from: Martin K. on October 03, 2012, 02:05:44 pm ---I have prepared a first version of the CDB Debugger plugin. Maybe someone is able to have a look on it.

https://www.dropbox.com/s/ds1b5rr7ouhhvsl/debugger_cdb.zip

--- End quote ---
Have you though of putting it on github or something like this?

Martin K.:

--- Quote from: oBFusCATed on October 03, 2012, 06:17:47 pm ---
--- Quote from: Martin K. on October 03, 2012, 02:05:44 pm ---I have prepared a first version of the CDB Debugger plugin. Maybe someone is able to have a look on it.

https://www.dropbox.com/s/ds1b5rr7ouhhvsl/debugger_cdb.zip

--- End quote ---
Have you though of putting it on github or something like this?

--- End quote ---

http://svn.code.sf.net/p/debuggercdb/code/trunk  ;)

Martin

CsrPryr:
send me compile errors?....


||=== debugger_cdb, default ===|
C:\wxWidgets-2.8.12\include\wx\platform.h|196|error: wx/setup.h: No such file or directory|
C:\wxWidgets-2.8.12\include\wx\chkconf.h|103|error: #error "wxUSE_DYNLIB_CLASS must be defined."|
C:\wxWidgets-2.8.12\include\wx\chkconf.h|111|error: #error "wxUSE_EXCEPTIONS must be defined."|
C:\wxWidgets-2.8.12\include\wx\chkconf.h|119|error: #error "wxUSE_FILESYSTEM must be defined."|
C:\wxWidgets-2.8.12\include\wx\chkconf.h|127|error: #error "wxUSE_FS_ARCHIVE must be defined."|
C:\wxWidgets-2.8.12\include\wx\chkconf.h|140|error: #error "wxUSE_DYNAMIC_LOADER must be defined."|
C:\wxWidgets-2.8.12\include\wx\chkconf.h|148|error: #error "wxUSE_LOG must be defined."|
C:\wxWidgets-2.8.12\include\wx\chkconf.h|156|error: #error "wxUSE_LONGLONG must be defined."|
C:\wxWidgets-2.8.12\include\wx\chkconf.h|164|error: #error "wxUSE_MIMETYPE must be defined."|
C:\wxWidgets-2.8.12\include\wx\chkconf.h|180|error: #error "wxUSE_PRINTF_POS_PARAMS must be defined."|
C:\wxWidgets-2.8.12\include\wx\chkconf.h|188|error: #error "wxUSE_PROTOCOL must be defined."|
C:\wxWidgets-2.8.12\include\wx\chkconf.h|230|error: #error "wxUSE_REGEX must be defined."|
C:\wxWidgets-2.8.12\include\wx\chkconf.h|238|error: #error "wxUSE_STDPATHS must be defined."|
C:\wxWidgets-2.8.12\include\wx\chkconf.h|246|error: #error "wxUSE_XML must be defined."|
C:\wxWidgets-2.8.12\include\wx\chkconf.h|254|error: #error "wxUSE_SOCKETS must be defined."|
C:\wxWidgets-2.8.12\include\wx\chkconf.h|262|error: #error "wxUSE_STREAMS must be defined."|
C:\wxWidgets-2.8.12\include\wx\chkconf.h|270|error: #error "wxUSE_STOPWATCH must be defined."|
C:\wxWidgets-2.8.12\include\wx\chkconf.h|278|error: #error "wxUSE_TEXTBUFFER must be defined."|
C:\wxWidgets-2.8.12\include\wx\chkconf.h|286|error: #error "wxUSE_TEXTFILE must be defined."|
C:\wxWidgets-2.8.12\include\wx\chkconf.h|302|error: #error "wxUSE_URL must be defined."|
C:\wxWidgets-2.8.12\include\wx\chkconf.h|310|error: #error "wxUSE_VARIANT must be defined."|
C:\wxWidgets-2.8.12\include\wx\chkconf.h|330|error: #error "wxUSE_ABOUTDLG must be defined."|
C:\wxWidgets-2.8.12\include\wx\chkconf.h|338|error: #error "wxUSE_ACCEL must be defined."|
C:\wxWidgets-2.8.12\include\wx\chkconf.h|346|error: #error "wxUSE_ANIMATIONCTRL must be defined."|
C:\wxWidgets-2.8.12\include\wx\chkconf.h|354|error: #error "wxUSE_BITMAPCOMBOBOX must be defined."|
C:\wxWidgets-2.8.12\include\wx\chkconf.h|362|error: #error "wxUSE_BMPBUTTON must be defined."|
C:\wxWidgets-2.8.12\include\wx\chkconf.h|370|error: #error "wxUSE_BUTTON must be defined."|
C:\wxWidgets-2.8.12\include\wx\chkconf.h|378|error: #error "wxUSE_CALENDARCTRL must be defined."|
C:\wxWidgets-2.8.12\include\wx\chkconf.h|386|error: #error "wxUSE_CARET must be defined."|
C:\wxWidgets-2.8.12\include\wx\chkconf.h|394|error: #error "wxUSE_CHECKBOX must be defined."|
C:\wxWidgets-2.8.12\include\wx\chkconf.h|410|error: #error "wxUSE_CHOICE must be defined."|
C:\wxWidgets-2.8.12\include\wx\chkconf.h|418|error: #error "wxUSE_CHOICEBOOK must be defined."|
C:\wxWidgets-2.8.12\include\wx\chkconf.h|426|error: #error "wxUSE_CHOICEDLG must be defined."|
C:\wxWidgets-2.8.12\include\wx\chkconf.h|434|error: #error "wxUSE_CLIPBOARD must be defined."|
C:\wxWidgets-2.8.12\include\wx\chkconf.h|442|error: #error "wxUSE_COLLPANE must be defined."|
C:\wxWidgets-2.8.12\include\wx\chkconf.h|450|error: #error "wxUSE_COLOURDLG must be defined."|
C:\wxWidgets-2.8.12\include\wx\chkconf.h|458|error: #error "wxUSE_COLOURPICKERCTRL must be defined."|
C:\wxWidgets-2.8.12\include\wx\chkconf.h|466|error: #error "wxUSE_COMBOBOX must be defined."|
C:\wxWidgets-2.8.12\include\wx\chkconf.h|474|error: #error "wxUSE_COMBOCTRL must be defined."|
C:\wxWidgets-2.8.12\include\wx\chkconf.h|482|error: #error "wxUSE_DATAOBJ must be defined."|
C:\wxWidgets-2.8.12\include\wx\chkconf.h|490|error: #error "wxUSE_DATAVIEWCTRL must be defined."|
C:\wxWidgets-2.8.12\include\wx\chkconf.h|498|error: #error "wxUSE_DATEPICKCTRL must be defined."|
C:\wxWidgets-2.8.12\include\wx\chkconf.h|506|error: #error "wxUSE_DIRPICKERCTRL must be defined."|
C:\wxWidgets-2.8.12\include\wx\chkconf.h|514|error: #error "wxUSE_DISPLAY must be defined."|
C:\wxWidgets-2.8.12\include\wx\chkconf.h|522|error: #error "wxUSE_DOC_VIEW_ARCHITECTURE must be defined."|
C:\wxWidgets-2.8.12\include\wx\chkconf.h|530|error: #error "wxUSE_FILEDLG must be defined."|
C:\wxWidgets-2.8.12\include\wx\chkconf.h|538|error: #error "wxUSE_FILEPICKERCTRL must be defined."|
C:\wxWidgets-2.8.12\include\wx\chkconf.h|546|error: #error "wxUSE_FONTDLG must be defined."|
C:\wxWidgets-2.8.12\include\wx\chkconf.h|554|error: #error "wxUSE_FONTMAP must be defined."|
C:\wxWidgets-2.8.12\include\wx\chkconf.h|562|error: #error "wxUSE_FONTPICKERCTRL must be defined."|
||More errors follow but not being shown.|
||Edit the max errors limit in compiler options...|
||=== Build finished: 50 errors, 0 warnings ===|

Navigation

[0] Message Index

[#] Next page

[*] Previous page

Go to full version