Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 336859 - Debugging multiple-linked list leads to memory overflow
Summary: Debugging multiple-linked list leads to memory overflow
Status: RESOLVED INVALID
Alias: None
Product: PTP
Classification: Tools
Component: Photran.Debugger & Console View (show other bugs)
Version: 6.0   Edit
Hardware: PC Linux
: P3 normal (vote)
Target Milestone: ---   Edit
Assignee: Photran Inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-02-10 13:42 EST by the_zealite CLA
Modified: 2011-03-17 23:51 EDT (History)
1 user (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description the_zealite CLA 2011-02-10 13:42:53 EST
I have a program using a linked list to represent a computational mesh, and each node points to all its neighbors. When Photran tries to dereference all of these pointers in all of these nodes (10 nodes, total), it enters an infinite loop. Is there a way to turn off the "automatic dereference" feature?
Comment 1 Jeffrey Overbey CLA 2011-03-17 23:51:48 EDT
Hello,

When you debug a Fortran application, you are actually using the debugger from Eclipse CDT (the C/C++ Development Tools).  I don't know of a way to turn off automatic dereferencing, but it might be possible; I'm not sure.

You might take a look at the CDT documentation (e.g., http://help.eclipse.org/helios/index.jsp ) and see if it has anything helpful.  You could also search the CDT forum or ask for help there - http://www.eclipse.org/forums/index.php?t=thread&frm_id=80

Sorry I'm not more help.

Jeff

--
Marking this as "invalid" since the relevant part of the debugger is not under Photran's control