gpt4 book ai didi

java - 您在哪里配置 Eclipse Java 编译器 (javac) 标志?

转载 作者:太空狗 更新时间:2023-10-29 22:35:17 25 4
gpt4 key购买 nike

例如

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/

25 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com