Page 1 of 1

IDE: variables list

Posted: Thu Jun 12, 2008 10:41 am
by CSAUER
Hi,

I would like to suggest, that a double click onto a variable list entry would show the whole content in a editorgadget-window. This would be very useable if a string has a linebreak or more than just the displayed content.
I think this shouldn't be a big thing, but very helpful.

Addionally nice:
A double click onto a pointer value which points to a linked list, should jump onto the pointed linked list. It is hard to determine the pointed linked list, if you only have a pointer addressed to it. I use this very often, because some root linked list, point to other linked lists.
I don't know if this would be possible.

Thanks in advance.

Posted: Thu Jun 12, 2008 3:12 pm
by Demivec
CSAUER wrote:Addionally nice:
A double click onto a pointer value which points to a linked list, should jump onto the pointed linked list. It is hard to determine the pointed linked list, if you only have a pointer addressed to it. I use this very often, because some root linked list, point to other linked lists.
I don't know if this would be possible.
@CSAUER: Since a pointer holds a value, I don't think the IDE would be able to figure out what that value represented. The value might be an address of a linked-list, an address of a structure, an offset, or just a number. The feature would be wonderful but it doesn't look like it would be possible because the IDE/debugger would have to read your mind to figure out how it is supposed to interpret that value when you double-click it.

Posted: Thu Jun 12, 2008 4:28 pm
by Trond

Code: Select all

*Pointer.TYPE
The debugger knows the type. Where is the problem?

Posted: Thu Jun 12, 2008 5:31 pm
by Demivec
Trond wrote:

Code: Select all

*Pointer.TYPE
The debugger knows the type. Where is the problem?
@Trond: If you were asking me, it wasn't the type that CSAUER was referring to, but a pointer that pointed to a linked-list. I think I see your point, if the pointer has a type, it could be dereferenced and displayed the same as a structured varaible.

Ignoring the linked-list aspect, which I confess confused my understanding of the feature-request, it would be possible to display a structure that is pointed at by a *Pointer.TYPE as easily as any other variable's contents.

I amend my first posting by adding that I think this portion of the request would be helpful and possible. I usually have to manually look at the memory area being pointed at to discern what it contains because it isn't dereferenced by the the debugger.

Posted: Thu Jun 12, 2008 5:38 pm
by Trond
Yes, there is a problem with linked list, I skipped that part...