例如
javac -g ButtMonkey.java
Eclipse 编译Java 源码的时候在哪里设置-g 标志? (使用 Ganymede,但我怀疑它在以后的版本中发生了变化,所以任何答案都可能有所帮助。)
我需要的是:
-g
Generate all debugging information, including local variables. By default, only line number and source file information is generated.
最佳答案
选择菜单:Window > Preferences > Java > Compiler
您会在“类文件生成”标题下找到几个复选框。
关于java - 您在哪里配置 Eclipse Java 编译器 (javac) 标志?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/9483315/