Author Topic: Plugin that will show all variables (not just local) when I step into a function  (Read 6841 times)

Offline const451

  • Multiple posting newcomer
  • *
  • Posts: 37
Hello all,

I am looking for a plugin that will display all variables that are used inside of a function, not just local variables but also global, function parameters, and class members when I step into that function.

That should be similar to Watches->Local variables but I want to see all variables that are used inside of my function.

This is sort of a deal breaker feature for me as I use debugger a lot working on algorithms.

Thanks!!


Offline stahta01

  • Lives here!
  • ****
  • Posts: 7790
    • My Best Post
IMHO, This IS NOT the right Sub-Forum; the MODs might or might not agree.

If you wish to pay someone to write the plug-in I suggest
  http://forums.codeblocks.org/index.php/board,10.0.html

If you are just suggesting a plugin I suggest submitting to Berlios site
  http://developer.berlios.de/feature/?group_id=5358

If you are going to write it yourself then or modify the current Debugger Plugin
  http://forums.codeblocks.org/index.php/board,14.0.html
Also, read http://forums.codeblocks.org/index.php/topic,14800.0.html

If none of the above this is the closest
  http://forums.codeblocks.org/index.php/board,5.0.html

Note: DO NOT start a new thread in "Code::Blocks > User forums > General (but related to Code::Blocks)"
Just say that is what you want in this thread and the Mods might move it; or leave it as it is.

FYI: You can Edit a thread Topic in the first post and the most recent post and the edit topic will show up in the forum. This is likely the more correct than what you did; since, the problem/topic did not really change.

Tim S.
« Last Edit: June 10, 2011, 07:50:12 pm by stahta01 »
C Programmer working to learn more about C++ and Git.
On Windows 10 64 bit and Windows 11 64 bit.
--
When in doubt, read the CB WiKi FAQ. http://wiki.codeblocks.org

Offline const451

  • Multiple posting newcomer
  • *
  • Posts: 37
This is Code::Blocks > User forums > Using Code::Blocks > sub-forum, not general. I need a plugin that enhances the usability of Codeblocks, hence I posted it in the correct sub-forum. And, no, I do not need any of the things you mentioned.

My question is:

I need a plugin that will display all variables that are used inside of a function, not just local variables but also global, function parameters, and class members when I step into that function.

THX

Offline oBFusCATed

  • Developer
  • Lives here!
  • *****
  • Posts: 13406
    • Travis build status
Have you seen the watches window? Add the variables you're interested in.
The current debugger plugins will become dead slow if you have all this things updated every step.
(most of the time I ignore long posts)
[strangers don't send me private messages, I'll ignore them; post a topic in the forum, but first read the rules!]

Offline const451

  • Multiple posting newcomer
  • *
  • Posts: 37
Have you seen the watches window? Add the variables you're interested in.
The current debugger plugins will become dead slow if you have all this things updated every step.

During debugging session I can walk through 20-30 functions, I can have 50-100 debugging sessions a day. Adding variables into Watches window every time I step into a function is out of question - that would increase my developing time by much. I must see all the variables "on the fly". I am using Windows/Visual Studio at work which does have this capability, I've installed Ubuntu and Codeblocks at home not long ago but I must have all the features I need.

You are saying such plugin exists but it just slow. What's the name of it, please, I'd like to try.


Offline oBFusCATed

  • Developer
  • Lives here!
  • *****
  • Posts: 13406
    • Travis build status
debuggergdb, you have it installed  :lol:
(most of the time I ignore long posts)
[strangers don't send me private messages, I'll ignore them; post a topic in the forum, but first read the rules!]

Offline const451

  • Multiple posting newcomer
  • *
  • Posts: 37
debuggergdb, you have it installed  :lol:

I only have:

> Debugger 0.3

> \usr\lib\codeblocs\plugins\libdebugge.so

> Plugin that interfaces GNU GDB and MS CDB debuggers

You mean this one? It does not work.

Is there another one?




Offline oBFusCATed

  • Developer
  • Lives here!
  • *****
  • Posts: 13406
    • Travis build status
Yes, debugger_gdb_mi, but this won't work, too
(most of the time I ignore long posts)
[strangers don't send me private messages, I'll ignore them; post a topic in the forum, but first read the rules!]

Offline const451

  • Multiple posting newcomer
  • *
  • Posts: 37

Can someone suggest a workable solution?