RE: New "Come Back Here" Button?

"Nathan Fiedler" <[email protected]> Wed, 15 Jan 2003 10:16:26 -0800
Newsgroups gmane.comp.java.jswat.user
Message-ID <[email protected]>
I think the issue is really why doesn't the 'step out' button work. I
don't know what the "come back here" button would do differently anyway.
If you can determine under which conditions the step out button fails,
that would help a lot. Then send that information to the jswat-bugs
list.

thanks

n


> -----Original Message-----
> From: Wilson Jimmy - jiwils [mailto:[email protected]] 
> Sent: Wednesday, January 15, 2003 6:56 AM
> To: JSwat Users Mailing List (E-mail)
> Subject: [jswat-user] New "Come Back Here" Button?
> 
> 
> What about a "come back to this point" button?
> 
> I have some code that looks like this:
> 
> Instance.method(3rdPartyInstance.getMethod());
> 
> The stuff in bold is from a 3rd party, and I don't have the source.
> 
> I want to be able to step into the Instance's method, but 
> when I try it
> attempts to step into 3rdPartyInstance's getMethod for which 
> there is no
> source.  Then the debugger is lost.  I can sometimes use the 
> step out of
> frame button to get it back to my line, but not always.
> 
> I could set a breakpoint inside the method (but that seems to 
> be a tedious
> thing to do every time this kind of thing occurs), or I could 
> change the
> code to call 3rdPartyInstance.getMethod before calling 
> Instance.method (but
> then I am writing code for the debugger).
> 
> I would be glad to help code this kind of thing (if it is 
> even possible),
> but I know very little about the JPDA.  Can this be done?
> 
> Jimmy