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

Show debugging information on hover

(1/6) > >>

shirsoft:
Hi guys,

I recently checked out code blocks and it seems really nice. Best thing is it is intuitive and easy to use. A lot of effort must have gone behind this simplicity.

I was thinking of showing debugging information for variables when the mouse hovers on them. Ofcourse this would work only during debugging.
It resembles the idea first introduced in MSVC 2005(i might be wrong).

I use this feature in VS a lot, compared to the old way, where we need to add the variables to the watch, or scroll through it.

Do you think this would be useful for C::b and its users?

Another idea I had was visualizing a chunk of memory as 2d image. This is particularly useful when dealing with image processing algorithms. (I have been through a lot of frustrating experiences while debugging pixel by pixel)

-Thanks!

oBFusCATed:

--- Quote from: shirsoft on May 06, 2010, 02:31:20 am ---Hi guys,

I recently checked out code blocks and it seems really nice. Best thing is it is intuitive and easy to use. A lot of effort must have gone behind this simplicity.

I was thinking of showing debugging information for variables when the mouse hovers on them. Ofcourse this would work only during debugging.
It resembles the idea first introduced in MSVC 2005(i might be wrong).

I use this feature in VS a lot, compared to the old way, where we need to add the variables to the watch, or scroll through it.

Do you think this would be useful for C::b and its users?

--- End quote ---
There is a simple version of this feature already implemented: Settings -> Compiler & Debugger -> Debugger -> Evaluate expression under the cursor
For the future a better version could be implemented but it depends if wxWidget could do it -> someone should do test if it is possible


--- Quote ---Another idea I had was visualizing a chunk of memory as 2d image. This is particularly useful when dealing with image processing algorithms. (I have been through a lot of frustrating experiences while debugging pixel by pixel)

--- End quote ---
It is possible but someone should do it (it might be slow)

p.s. if you what a better debugging capabilities look at the debugger branch in svn

shirsoft:
I had a look and it looks quite nice.

--- Quote from: oBFusCATed on May 06, 2010, 03:24:57 am ---depends if wxWidget could do it -> someone should do test if it is possible

--- End quote ---

Which feature of wxWidgets do you wish to be tested?

oBFusCATed:
We need some control that looks like the one used in VS...

In the debugger branch C::B is moved to a wxPropGrid control for the watches window.
There was an idea to use the same control (wxPropGrid) for the tooltip.

1. Test if it is possible to put wxPropGrid in a wxTipWindowBase (see gdb_tipwindow.h/cpp for details)
2. Is it possible to make it autosizing (expanding/collapsing to change the size of the tip window)
3. Does it work on all platforms windows,linux,macos (reliably!)

shirsoft:
alright, I'll have a look. My quarter is going on so its a bit tough to find a lot of time but summers for sure!

Navigation

[0] Message Index

[#] Next page

Go to full version