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.
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.
Michale, please evaluate.
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.
Script node displayed instead.
verified in JavaFX Composer FXJDI Build #49 (Jul 8, 2010 7:48:33 AM)
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.
"This" was completely removed. There are only local variables and script variables. So the variable Script and a are correct.
Verified with NetBeans IDE 6.9.1 Dev (Build 201007152301)