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 187479 - Debugger doesn't show +Static node
Summary: Debugger doesn't show +Static node
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: Michal Skvor
URL:
Keywords:
Depends on:
Blocks: 185232
  Show dependency tree
 
Reported: 2010-06-11 12:39 UTC by Martin Ryzl
Modified: 2010-07-13 09:20 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
IDE screenshot (105.25 KB, image/png)
2010-06-24 12:14 UTC, Alexandr Scherbatiy
Details
IDE screenshot (100.48 KB, image/png)
2010-07-08 09:51 UTC, Alexandr Scherbatiy
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Martin Ryzl 2010-06-11 12:39:47 UTC
Custom builds with fxjdi. Create Bounce sample, set breakpoint at line 53.

Debugger doesn't show +Static node with all fields available in the class. When using just FXJDI (via API) to communicate with the VM, all fields are there.
Comment 1 Martin Ryzl 2010-06-16 20:26:02 UTC
+Static node is not required, static (script) variables are correctly displayed now
Comment 2 Alexandr Scherbatiy 2010-06-24 12:13:09 UTC
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).
Comment 3 Alexandr Scherbatiy 2010-06-24 12:14:11 UTC
Created attachment 100391 [details]
IDE screenshot
Comment 4 Alexandr Scherbatiy 2010-06-24 12:20:15 UTC
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;
-------------------------------------------
Comment 5 Martin Ryzl 2010-06-24 15:05:16 UTC
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.
Comment 6 Alexandr Scherbatiy 2010-06-28 07:54:34 UTC
I used JavaFX Composer FXJDI: #31 Build 201006240001 from big-mac
Comment 7 Michal Skvor 2010-07-07 13:42:22 UTC
Implemented. The node is called Script.
Comment 8 Alexandr Scherbatiy 2010-07-08 09:17:23 UTC
verified in JavaFX Composer FXJDI Build #49 (Jul 8, 2010 7:48:33 AM)
Comment 9 Alexandr Scherbatiy 2010-07-08 09:48:37 UTC
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.
Comment 10 Alexandr Scherbatiy 2010-07-08 09:51:49 UTC
Created attachment 100687 [details]
IDE screenshot
Comment 11 Alexandr Scherbatiy 2010-07-08 09:53:17 UTC
It seems it is because the script contains the Stage{}. Without the Stage it works.
Comment 12 Alexandr Scherbatiy 2010-07-08 09:56:08 UTC
Or probably it does not work with the Bounce sample.
Comment 13 Martin Ryzl 2010-07-08 10:12:02 UTC
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.
Comment 14 Alexandr Scherbatiy 2010-07-08 11:00:16 UTC
Created the issue 188482 Debugger does not stop on a breakpoint
Comment 15 Michal Skvor 2010-07-12 13:48:21 UTC
I planed breakpoint to line with:
var paddle : Paddle = Paddle {};

and I can see all variables properly.
Comment 16 Andrei Chistiakov 2010-07-13 09:20:31 UTC
Verified with NetBeans IDE 6.9.1 Dev (Build 201007112301)