How do I compile with -g option in Netbeans?

compilation, java, netbeans

Solution

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.

Problem

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? thanks

Original source

Related problems