NO

Author Topic: Debug - variable window  (Read 2636 times)

henrin

  • Guest
Debug - variable window
« on: November 17, 2009, 05:51:51 pm »
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

  • Guest
Re: Debug - variable window
« Reply #1 on: November 23, 2009, 03:20:02 pm »
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

  • Guest
Re: Debug - variable window
« Reply #2 on: November 23, 2009, 05:42:09 pm »
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).

Offline AlexN

  • Global Moderator
  • Member
  • *****
  • Posts: 383
    • Alex's Link Sammlung
Re: Debug - variable window
« Reply #3 on: November 24, 2009, 08:30:27 am »
(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 ;)