CDbg Build 0.0.0.7

Nick Slivca  —  1 week, 2 days ago [Edited 0 minutes later]
Hello guys! A new build is here and lets see what is new.

- Added Unicode support to the rendering system.

- Fileviewer will open files that are encoded as UTF-8.

- Fileviewer now has indentation lines that can be toggled from
the config file through the "fileviewer_show_indent_lines" value modifier.

- Added a config value modifier "fileviewer_tooltip_timer_ms" that
changes delay of the value tooltip in the Fileviewer widget.

- Added a config value modifier "maximize_window_on_start" that
maximizes debugger's window on startup on startup if set to "true".

- Added a config value modifier "tab_width" that changes default tab width.

- Added a new config event "clear_all_expr" that clears all the expressions
in the inspector. Currently bound to CTRL + l.

- Added a new config event "clear_all_data_bp" that clears all the data breakpoints.
Currently bound to CTRL + g.

- C/C++ Lexer now can parse integer suffixes like 0x123ull.

- String viewer tool from the inspector now will pick up size parameter
from the expression and when you are going to click on the magnifying
glass, the tool will read amount of bytes that was specified.

- Inspector will display each array element address along with an index.

- Inspector now can handle UTF-16 strings.

- And a bunch of bug fixes.

Download Link
#16294
seventh-chord  —  1 week ago [Edited 1 minute later]
Im very excited about this. It seems like at least two of the common crashes I was experiencing are fixed now. Again, thank you for making this project!

One thing I was wondering about: Are you planning on supporting debugging of executables without debug information, i.e. stepping through machinecode directly?

Non-ascii characters seem to work, and alt-gr also works as a third level modifier now. However, I think there is still a bug somewhere in the way you handle input. I have remapped keys by editing the registry in windows (I use capslock as altgr, though the specifics shouldn't matter), but this remapping is not respected in cdbg. I am fairly certain that winapi should handle this internally, and that the WM_CHAR message gives characters based on my remapping without you having to look at the registry. Let me know if you need any more info on this.
#16303
Nick Slivca  —  1 week ago
seventh-chord
Im very excited about this. It seems like at least two of the common crashes I was experiencing are fixed now. Again, thank you for making this project!

One thing I was wondering about: Are you planning on supporting debugging of executables without debug information, i.e. stepping through machinecode directly?

Non-ascii characters seem to work, and alt-gr also works as a third level modifier now. However, I think there is still a bug somewhere in the way you handle input. I have remapped keys by editing the registry in windows (I use capslock as altgr, though the specifics shouldn't matter), but this remapping is not respected in cdbg. I am fairly certain that winapi should handle this internally, and that the WM_CHAR message gives characters based on my remapping without you having to look at the registry. Let me know if you need any more info on this.


You are welcome!

Yes, there will be support for stepping through the machine code directly, in the next build.

About the AltGr. I actually use WM_CHAR event to get the character, but debugger also needs to know which modifiers are pressed like Ctrl, Alt, AltGr, or Shift and for this debugger uses WM_INPUT. And the issue is that the AltGr key is not properly detected when remapped. I will try to fix this soon, thanks for letting me know.
Log in to comment