Bug 295473 - F5'ing steps in but leaves me in the "previous" stack frame
F5'ing steps in but leaves me in the "previous" stack frame
Status: RESOLVED DUPLICATE of bug 291267
Product: JDT
Classification: Eclipse
Component: Debug
3.6
PC Windows XP
: P3 major (vote)
: ---
Assigned To: Darin Wright CLA Friend
:
Depends on:
Blocks:
  Show dependency tree
 
Reported: 2009-11-18 10:15 EST by Remy Suen CLA Friend
Modified: 2009-11-19 08:55 EST (History)
4 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Remy Suen CLA Friend 2009-11-18 10:15:59 EST
Build id: I20091117-1545

1. Create a class like so...

public class Test {
	
  public void v() {
    System.out.println("Stack frame is not here ;_;");
    System.out.println("F6 does not move cursor here ;_;");
  }
	
  public static void main(String[] args) {
    Test t = new Test();
    t.v(); // bp here
  }

}

2. But a breakpoint in the t.v() line.
3. Debug Test.
4. Stops, wonderful, F5 into test.v().
5. Hit F6, both lines are printed instead of just the first one. The program terminates when I expect it to pause at the second line of v()'s implementation.
Comment 1 Paul Webster CLA Friend 2009-11-18 10:36:32 EST
Could the viewer changes cause this behaviour?

PW
Comment 2 Darin Wright CLA Friend 2009-11-18 12:15:00 EST
This was caused & fixed by the changes in bug 291267. The fix is in HEAD but not the I-build. I think we'll need to request a re-build.

*** This bug has been marked as a duplicate of bug 291267 ***
Comment 3 Remy Suen CLA Friend 2009-11-19 08:55:48 EST
(In reply to comment #2)
> This was caused & fixed by the changes in bug 291267. The fix is in HEAD but
> not the I-build. I think we'll need to request a re-build.

This is working fine now based on our e4 build (which supposedly includes the requested re-I-build). Thanks, Darin.