This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.

Bug 130517 - Step into (F7) does not correctly walk through a function body
Summary: Step into (F7) does not correctly walk through a function body
Status: VERIFIED FIXED
Alias: None
Product: javafx
Classification: Unclassified
Component: Debugger (show other bugs)
Version: 6.x
Hardware: All All
: P2 blocker (vote)
Assignee: Alexey Butenko
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-03-19 13:04 UTC by Alexandr Scherbatiy
Modified: 2008-10-23 10:10 UTC (History)
0 users

See Also:
Issue Type: ENHANCEMENT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Alexandr Scherbatiy 2008-03-19 13:04:07 UTC
Steps to reproduce:
- Create a JavaFX file:
-----------------------------------------------------
import java.lang.System;

function func1(){
    System.out.println("Func1");    
}


function func2(){
    System.out.println("Func2");    
}

function all(){
    func1();
    func2();
}
-----------------------------------------------------
- Press F7 (Step into)
 The green line points to function 'all'
- Press F7
  The blue line goes to the beginning of the line.
  But green line should point to  func1() invocation 
  instead of this.
Comment 1 Alexandr Scherbatiy 2008-03-19 13:17:15 UTC
The Debugger output:

Listening on 2190
User program running
Thread main stopped at Main.fx:14.
User program running
Thread main stopped at Main.fx.main.
User program running
Thread main stopped at Main.fx:1.
User program running
Thread main stopped at Main.fx.main.
Comment 2 Andrey Yamkovoy 2008-04-14 16:16:48 UTC
The only plain Java debugger was implemented. 
JavaFX debugger in plans after J1.
Comment 3 Andrey Yamkovoy 2008-10-20 10:48:07 UTC
Debugger > Alexey
Comment 4 Alexey Butenko 2008-10-20 10:50:38 UTC
positions should be fixed in compiler
Comment 5 Alexandr Scherbatiy 2008-10-23 10:10:53 UTC
verified in 2008-10-23_03-01-09.zip