Re: [eclipse-users] debugging

From: Joachim Schimpf (Independent Contractor) <jschimpf_at_cisco.com>
Date: Wed, 22 Aug 2007 11:21:02 +0100
Malcolm Ryan wrote:
> My code is throwing an 'out of range' error due to an array access  
> somewhere. Is there way to find out where, other than by creeping  
> through the code in the debugger?

Yes: jump to the LEAVE-port and look at the ancestors.

In tkeclipse tracer: select 'leave' from the dropdown menu and
then click 'To Port'.  Once the tracer has stopped at the
LEAVE port, right-click on that line and select 'refresh goal stack'.

In command line eclipse tracer:  type zleave to junp to the
LEAVE port, once there, type g repeatedly to see the ancestors.


-- Joachim
Received on Wed Aug 22 2007 - 11:21:11 CEST

This archive was generated by hypermail 2.2.0 : Thu Feb 02 2012 - 02:31:58 CET