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 176993

Summary: Can't debug JavaFX application
Product: javafx Reporter: Andrei Chistiakov <ca-nb>
Component: DebuggerAssignee: Petr Nejedly <pnejedly>
Status: VERIFIED FIXED    
Severity: normal    
Priority: P1    
Version: 6.x   
Hardware: PC   
OS: Windows XP   
Issue Type: DEFECT Exception Reporter:
Bug Depends on: 177063    
Bug Blocks:    

Description Andrei Chistiakov 2009-11-17 05:58:09 UTC
Product Version: NetBeans IDE Dev (Build 200911170201)
Java: 1.6.0_16; Java HotSpot(TM) Client VM 14.2-b01
System: Windows XP version 5.1 running on x86; Cp1251; ru_RU (nb)

To reproduce:
- create JavaFX Application
- press Debug Main Project on main IDE toolbar

The application is not executed
Comment 1 Andrei Chistiakov 2009-11-17 06:04:20 UTC
Note: debugger doesn't work until Java SE module is activated.
Comment 2 Petr Nejedly 2009-11-19 07:09:05 UTC
I have a fix that adds few dependencies to the javafx debugger, enough to make debugger working well. Maybe it adds too much but we don't have time for games now.

--- a/javafx.debug2/nbproject/project.xml       Thu Nov 19 15:04:59 2009 +0300
+++ b/javafx.debug2/nbproject/project.xml       Thu Nov 19 15:06:50 2009 +0100
@@ -74,6 +74,32 @@
                     </run-dependency>
                 </dependency>
                 <dependency>
+                    <code-name-base>org.netbeans.modules.java.debug</code-name-base>
+                    <run-dependency>
+                        <specification-version>1.1</specification-version>
+                    </run-dependency>
+                </dependency>
+                <dependency>
+                    <code-name-base>org.netbeans.modules.ant.debugger</code-name-base>
+                    <run-dependency>
+                        <release-version>1</release-version>
+                        <specification-version>1.14</specification-version>
+                    </run-dependency>
+                </dependency>
+                <dependency>
+                    <code-name-base>org.netbeans.modules.java.kit</code-name-base>
+                    <run-dependency>
+                        <specification-version>1.7</specification-version>
+                    </run-dependency>
+                </dependency>
+                <dependency>
+                    <code-name-base>org.netbeans.modules.debugger.jpda.ui</code-name-base>
+                    <run-dependency>
+                        <release-version>1</release-version>
+                        <specification-version>1.12</specification-version>
+                    </run-dependency>
+                </dependency>
+                <dependency>
                     <code-name-base>org.netbeans.spi.viewmodel</code-name-base>
                     <build-prerequisite/>
                     <compile-dependency/>
Comment 3 Petr Nejedly 2009-11-19 07:13:23 UTC
Added a dependency on java.kit
http://hg.netbeans.org/javafx/rev/333332e08b48
Comment 4 Alexandr Scherbatiy 2009-11-20 05:08:09 UTC
verified in Build 200911200201