How do I compile with -g option in Netbeans?

后端 未结 2 2124
春和景丽
春和景丽 2020-12-11 08:36

When debugging I get an warning message on exception saying \'variable info not available - compiled without -g\' - how do I set to compile with -g in netbeans?

2条回答
  •  天涯浪人
    2020-12-11 08:49

    As far as I know your own code is compiled with debug information. The Java runtime library, however, isn't.

    Please double check that the location you see this message, is in your own code and not the runtime library.

提交回复
热议问题