Using Netbeans, I have set a break-point in the TableColumn class of the JavaFX sdk lib. When dubugging my application, the break-point stops correctly, but the following message is displayed in the variables panel:
使用Netbeans,我在JavaFX sdk lib的TableColumn类中设置了一个断点。在对应用程序进行调试时,断点会正确停止,但变量面板中会显示以下消息:
"Netbeans: Variable information is not available, source compiled without -g option."
“Netbeans:变量信息不可用,源代码编译没有-g选项。”
How can I step through JavaFx sources to debug my application
如何逐步调试JavaFx源以调试我的应用程序
Note:
- My Project compile settings has
Generate Debugging Info
set to true. - My Maven compiler configuration does NOT have
<debug>false</debug>
. - I am using JDK 1.8 Update 45.
我的项目编译设置已将生成调试信息设置为true。
我的Maven编译器配置没有
我正在使用JDK 1.8 Update 45。
1 个解决方案
#1
Go to your project properties -> Compiling -> "Additional compiler options" and add "-g"
转到项目属性 - >编译 - >“其他编译器选项”并添加“-g”
#1
Go to your project properties -> Compiling -> "Additional compiler options" and add "-g"
转到项目属性 - >编译 - >“其他编译器选项”并添加“-g”