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 187480 - Debugger doesn't show +this node
Summary: Debugger doesn't show +this 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:41 UTC by Martin Ryzl
Modified: 2010-07-16 12:26 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 Martin Ryzl 2010-06-11 12:41:51 UTC
Custom builds with fxjdi. Create Bounce sample, set breakpoint at line 169.

Debugger doesn't show +this node with all fields available in the instance.
Comment 1 Martin Ryzl 2010-06-16 20:26:22 UTC
Michale, please evaluate.
Comment 2 Michal Skvor 2010-06-21 15:19:12 UTC
This is very tricky one. I got This and I can show it, but user will see that this is for example Bounce$Script class. This is probably issue on fxjdi part.
Comment 3 Martin Ryzl 2010-07-07 13:18:37 UTC
Script node displayed instead.
Comment 4 Alexandr Scherbatiy 2010-07-08 10:03:01 UTC
verified in JavaFX Composer FXJDI Build #49 (Jul 8, 2010 7:48:33 AM)
Comment 5 Alexandr Scherbatiy 2010-07-12 09:42:24 UTC
Let's check this one:
-----------  A.fx ---------
public class A {
    public var name: String;
    public function show() {
        var a = 10;
        println(a);  // Set a breakpoint
    }
}
-----------------------------
-----------  Main.fx  -------
var a = A{ name: "A"}
a.show();
-----------------------------

- Set a breakpoint to the 'println(a);' line for the A class
- Debug the project

The Variables window shows:
  Script
  a

It does not show the 'this.name' variable.

The Java debugger shows it:
-----------  A.java  ---------
public class A {
    public String name;
    public void show(){
        int a = 10;
        System.out.println("a"); // Set a breakpoint
    }
}
-----------------------------
-----------  Main.java  -----
public class Main {
    public static void main(String[] args) {
        A a = new A();
        a.name = "Hello";
        a.show();
    }
}
-----------------------------
The Variables window shows:
  this
     + name 
  a

The 'this.name' variable is shown.
Comment 6 Michal Skvor 2010-07-12 13:50:18 UTC
"This" was completely removed. There are only local variables and script variables. So the variable Script and a are correct.
Comment 7 Andrei Chistiakov 2010-07-16 12:26:58 UTC
Verified with NetBeans IDE 6.9.1 Dev (Build 201007152301)