Code::Blocks Forums

User forums => Using Code::Blocks => Topic started by: const451 on June 10, 2011, 07:36:54 pm

Title: Plugin that will show all variables (not just local) when I step into a function
Post by: const451 on June 10, 2011, 07:36:54 pm
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!!

Title: Re: Plugin that will show all variables (not just local) when I step into a function
Post by: stahta01 on June 10, 2011, 07:45:26 pm
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.
Title: Re: Plugin that will show all variables (not just local) when I step into a function
Post by: const451 on June 10, 2011, 08:05:01 pm
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
Title: Re: Plugin that will show all variables (not just local) when I step into a function
Post by: oBFusCATed on June 10, 2011, 08:10:39 pm
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.
Title: Re: Plugin that will show all variables (not just local) when I step into a function
Post by: const451 on June 10, 2011, 08:25:45 pm
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.

Title: Re: Plugin that will show all variables (not just local) when I step into a function
Post by: oBFusCATed on June 10, 2011, 08:34:03 pm
debuggergdb, you have it installed  :lol:
Title: Re: Plugin that will show all variables (not just local) when I step into a function
Post by: const451 on June 10, 2011, 09:15:40 pm
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?



Title: Re: Plugin that will show all variables (not just local) when I step into a function
Post by: oBFusCATed on June 10, 2011, 10:14:13 pm
Yes, debugger_gdb_mi, but this won't work, too
Title: Re: Plugin that will show all variables (not just local) when I step into a function
Post by: const451 on June 11, 2011, 12:09:22 am

Can someone suggest a workable solution?