News:

As usual while waiting for the next release - don't forget to check the nightly builds in the forum.

Main Menu

Viewing Linked Lists in C::B

Started by bamf226, December 06, 2014, 01:32:45 AM

Previous topic - Next topic

bamf226

I've tried everything I can think of to get a linked list to appear in the Watches window.  It's easy enough to dereference head and see the contents of the node, but I can't seem to get past the head node except by hardcoding all the next pointers.  It gets to be pretty tiresome to type head->next->next->next to look at the fourth node in the list.  Is there any easier way that I can get the node contents to appear in the Watches window without a string of dereferenced next pointers?

ollydbg

If some piece of memory should be reused, turn them to variables (or const variables).
If some piece of operations should be reused, turn them to functions.
If they happened together, then turn them to classes.

bamf226

That is well outside my area of expertise.  Is there a plug-in that someone else has already written that will do that?

oBFusCATed

It depends on the library. If it is your own library then no - you have to do it yourself.

BTW: Never use linked lists they are sloooow:)
(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!]