Debug - variable window

Started by henrin, November 17, 2009, 05:51:51 PM

Previous topic - Next topic

henrin

A variable belongs to some context
The choice Local / Global is restrictive.
What about a full view of the variables with name and context?

The global view could show :
- really global variables,
- static ones on a file/function basis (v6 - see : http://forum.pellesc.de/index.php?topic=3014.0)
The local view could show variables on a file/function and execution stack basis.

Grouping variables by file/function and execution stack is usefull.
When something goes wrong, the initial fault may have occured several thousands of instructions before and may be contained in a variable that still exists.

I dream about a debugger able to display all existing variables in an non ambiguous way.

skirby

Hello,

I agree with this.
It would be a really nice feature.

And, it would be wonderful if you could add the stack view (like OllyDBG does)
It is particularly useful when debugging assembly piece of code to have values on stack.
Do you think it is possible?

Thanks in advance and have a nice day.

henrin

I am quite sure that it is possible.
It would be nice for developpers and for learning computer science.

The questions are "Who will do it ? For how much ?"...

LabWindowsCVI (a C IDE from National Instruments) has this feature.
(I guess that, as PellesC, it is built on the LCC technology).

AlexN

Quote from: henrin on November 23, 2009, 05:42:09 PM
(I guess that, as PellesC, it is built on the LCC technology).

When I remember it correct, Pelle wrote somewhere that he started his compiler from LCC v4.1.

best regards
Alex ;)