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.
Summary: | Debugger doesn't show +Static node | ||
---|---|---|---|
Product: | javafx | Reporter: | Martin Ryzl <mryzl> |
Component: | Debugger | Assignee: | Michal Skvor <misk> |
Status: | VERIFIED FIXED | ||
Severity: | normal | ||
Priority: | P1 | ||
Version: | 6.x | ||
Hardware: | PC | ||
OS: | Windows XP | ||
Issue Type: | DEFECT | Exception Reporter: | |
Bug Depends on: | |||
Bug Blocks: | 185232 | ||
Attachments: |
IDE screenshot
IDE screenshot |
Description
Martin Ryzl
2010-06-11 12:39:47 UTC
+Static node is not required, static (script) variables are correctly displayed now JavaFX Composer FXJDI: #31 Build 201006240001 I set a breakpoint to line 57 and the Variables window does not show the static variables. (However for line 53 it works). Created attachment 100391 [details]
IDE screenshot
It seems that the static variables are shown if a breakpoint is set to the variable with simple type (Integer, Boolean and etc). If set a breakpoint to a variable with Object type then the Variables window shows nothing. Just check the sample: ------------------------------------------- import javafx.scene.shape.Circle; import javafx.scene.shape.Rectangle; var a = 10; var c = Circle{}; var flag = true; var rect = Rectangle{}; var s = 2.4; ------------------------------------------- Do you use the custom build, don't you? Please note the whole feature won't be merged into trunk or 6.9.1 branch until all blocking issues are fixed. I used JavaFX Composer FXJDI: #31 Build 201006240001 from big-mac Implemented. The node is called Script. verified in JavaFX Composer FXJDI Build #49 (Jul 8, 2010 7:48:33 AM) JavaFX Composer FXJDI Build #49 (Jul 8, 2010 7:48:33 AM) I tried the initial steps and it does not work. Steps to reproduce: Custom builds with fxjdi. Create Bounce sample, set breakpoint at line 53. Nothing is shown in the Variables window. Created attachment 100687 [details]
IDE screenshot
It seems it is because the script contains the Stage{}. Without the Stage it works. Or probably it does not work with the Bounce sample. The debugger doesn't show the variables unless stopped at a breakpoint. At the moment there is another bug - debugger doesn't stop at some breakpoints. Set the breakpoint at line 141 - this one works. Created the issue 188482 Debugger does not stop on a breakpoint I planed breakpoint to line with: var paddle : Paddle = Paddle {}; and I can see all variables properly. Verified with NetBeans IDE 6.9.1 Dev (Build 201007112301) |