User forums > Using Code::Blocks
About cb's debugger
oBFusCATed:
Hm, as I think about it more, I don't think it will be possible to implement it, because the info locals and info args commands don't print the types of the variables.
The type is used to decide if the variable is a pointer or not, and so controls if the dereference menu item should be shown or not.
You can always prove me wrong of course. :P ::)
scarphin:
@bat: Thnx for the help but that wasn't what I was looking for.
@obfuscated: What I was going to try was to add them as normal watches not properties of 'Locals'/'Function arguments' so the right click menu would contain (to my understanding) a 'dereference' option. If you say the type information won't be available when implemented that way, well that's out of my league. ;) It would be nice to have that feature implemented somehow though.
oBFusCATed:
One thing that would be easy to implement it right click menu to add the selected local/arg variable as normal watch.
I don't think it will be easy to add the locals/args as separate watches. Also it will slow down stepping pretty significantly.
Navigation
[0] Message Index
[*] Previous page
Go to full version