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 182188 - Breakpoints do not work for the functions
Summary: Breakpoints do not work for the functions
Status: VERIFIED WORKSFORME
Alias: None
Product: javafx
Classification: Unclassified
Component: Debugger (show other bugs)
Version: 6.x
Hardware: PC Windows XP
: P2 normal (vote)
Assignee: Michal Skvor
URL:
Keywords:
Depends on:
Blocks: 173187
  Show dependency tree
 
Reported: 2010-03-17 11:36 UTC by Alexandr Scherbatiy
Modified: 2010-06-24 09:33 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Alexandr Scherbatiy 2010-03-17 11:36:04 UTC
NetBeans-JavaFX-Soma:  #188

  Product Version         = NetBeans IDE Dev (Build 201003160201) (#81ecef16b2f8)
  Operating System        = Windows XP version 5.1 running on x86
  Java; VM; Vendor        = 1.6.0_15; Java HotSpot(TM) Client VM 14.1-b02; Sun Microsystems Inc.


Steps to reproduce:

- Copy the code to the editor:
-----------------------------------------------------------
class A{
    public function show() {  // <-- Set a breakpoint
            println("A");
    }
}

class B extends A{
    override function show() {   // <-- Set a breakpoint
            println("B");
    }
}

var a = A{};
a.show();

var b = B{};
b.show();
-----------------------------------------------------------

- Set breakpoints to the show() function in the A and B classes
- Debug the project

The debugger does not stop on the breakpoints
Comment 1 Michal Skvor 2010-03-17 13:20:37 UTC
This is caused due to missing information about the compiled script to the class files. Because there is no information about executable code during the breapoint placing the debugger tries to stop on breapoint but when no executable code is present the breapoint is skipped. This is issue for compiler.
Comment 2 Petr Suchomel 2010-03-26 13:33:46 UTC
Caused by missing mapping between JavaFX and classfiles generated methods by compiler
Comment 3 Michal Skvor 2010-06-22 14:32:13 UTC
Tested and it works for me.
Comment 4 Alexandr Scherbatiy 2010-06-24 09:33:40 UTC
verified in JavaFX Composer FXJDI: #31 
NetBeans IDE Dev (Build 201006240001)