🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: borland.public.jbuilder.debugger
Article #116

Re: Using the backspace key

#116
From: John McGrath [TeamB]
Date: Sun, 10 Oct 2004 05:55
27 lines
1932 bytes
On 10/3/2004 at 2:26:09 PM, Hikaru wrote:

> I haven't figured out a way to use the backspace key while debugging. 
> Is there a different set of keys that does that?

Are you trying to back up in the source code, un-executing something that
has been executed already?  If so, you cannot do it, at least not in that
general a fashion.

What you can do is back out the call stack.  In the message pane at the
bottom, select the "Threads, call stacks, and data" tab, then right click
on one of the stack frame entries and select "Set Execution Point".  This
will have the effect of backing you out of the method, so a "step in" will
start the method call over again.

Be aware that this will not undo changes to objects on the heap, so it
might not make sense to do this in all cases.  But it does work well in a
surprising number of cases.  This is a very useful feature.

-- 
Regards,

John McGrath [TeamB]

---------------------------------------------------
Before sending me e-mail, please read:
    http://www.JPMcGrath.net/newsgroups/e-mail.html
Technical Details
Message-ID: <4168ceba$1@newsgroups.borland.com>
Path: arc1-ca.pugleaf.net!g2news1.google.com!news2.google.com!proxad.net!news.tele.dk!news.tele.dk!small.news.tele.dk!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail
References: <41604441$1@newsgroups.borland.com>

Show Full Headers
Complete Article Headers
X-Google-Thread: ff5c5,eed168fb69faec9f
X-Google-Attributes: gidff5c5,public
X-Google-Language: ENGLISH,ASCII-7-bit
From: "John McGrath  [TeamB]" <ng-b@JPMcGrath.net>
Subject: Re: Using the backspace key
Newsgroups: borland.public.jbuilder.debugger
References: <41604441$1@newsgroups.borland.com>
User-Agent: XanaNews/1.16.4.6
MIME-Version: 1.0
Content-Type: text/plain; charset=iso-8859-15
NNTP-Posting-Host: 151.197.204.193
Message-ID: <4168ceba$1@newsgroups.borland.com>
Date: 9 Oct 2004 22:55:06 -0700
X-Trace: newsgroups.borland.com 1097387706 151.197.204.193 (9 Oct 2004 22:55:06 -0700)
Lines: 27
X-Authenticated-User: jpmcgrath
Path: arc1-ca.pugleaf.net!g2news1.google.com!news2.google.com!proxad.net!news.tele.dk!news.tele.dk!small.news.tele.dk!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail