Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.

Bug 336859

Summary: Debugging multiple-linked list leads to memory overflow
Product: [Tools] PTP Reporter: the_zealite
Component: Photran.Debugger & Console ViewAssignee: Photran Inbox <photran-inbox>
Status: RESOLVED INVALID QA Contact:
Severity: normal    
Priority: P3 CC: com-eclipse-dot-org
Version: 6.0   
Target Milestone: ---   
Hardware: PC   
OS: Linux   
Whiteboard:

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