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 212945 - VisualDebugger does not work with JavaFX 2.2
Summary: VisualDebugger does not work with JavaFX 2.2
Status: RESOLVED FIXED
Alias: None
Product: javafx
Classification: Unclassified
Component: Debugger (show other bugs)
Version: 7.2
Hardware: PC All
: P2 normal (vote)
Assignee: J Bachorik
URL: http://javafx-jira.kenai.com/browse/R...
Keywords:
Depends on:
Blocks:
 
Reported: 2012-05-24 11:09 UTC by J Bachorik
Modified: 2012-06-05 06:05 UTC (History)
1 user (show)

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 J Bachorik 2012-05-24 11:09:26 UTC
VisualDebugger can not be used on JavaFX 2.2
This is caused by the removal of internal API used by the debugger to obtain the applicaiton screenshot (http://javafx-jira.kenai.com/browse/RT-17398).
Unfortunately, plainly switching to the newly offered API method snapshot() does not work either as it requires to be called on the FX application thread, which is not the case right now.

Fixing will require substantial changes to how the remote methods (eg. taking the application screenshot) are executed.
Comment 1 J Bachorik 2012-05-24 13:49:41 UTC
fixed in http://hg.netbeans.org/profiler-main/rev/2424c49db8c8
Comment 2 kcr 2012-05-31 15:08:33 UTC
Note that we also have a simple fix for this in progress in JavaFX, if you would prefer not to make the more complex change in NetBeans.
Comment 3 kcr 2012-05-31 15:09:53 UTC
Although I see that you already fixed it in NetBeans, so I'm wondering whether it is still worth applying the fix in JavaFX?
Comment 4 Quality Engineering 2012-06-05 06:05:14 UTC
Integrated into 'main-golden', will be available in build *201206050001* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress)
Changeset: http://hg.netbeans.org/main-golden/rev/2424c49db8c8
User: Jaroslav Bachorik <yardus@netbeans.org>
Log: #212945: Adjusting the JavaFX VisualDebugger to the latest API changes in JavaFX 2.2