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 - Can't debug JavaFX application
Summary: Can't debug JavaFX application
Status: VERIFIED FIXED
Alias: None
Product: javafx
Classification: Unclassified
Component: Debugger (show other bugs)
Version: 6.x
Hardware: PC Windows XP
: P1 normal (vote)
Assignee: Petr Nejedly
URL:
Keywords:
Depends on: 177063
Blocks:
  Show dependency tree
 
Reported: 2009-11-17 05:58 UTC by Andrei Chistiakov
Modified: 2009-11-20 05:08 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 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