英文:
Gogland: debugging has redundant parameter '--'
问题
'Program arguments'为空,如下所示,
但是当我开始调试时,末尾有一个'--'参数。
这个参数是从哪里来的,我该如何避免它?
当我添加一些调试参数时,'--'仍然存在,就在程序名称和真正的参数之间。这会导致调试中断,因为程序不知道如何解释它。
英文:
'Program arguments' is empty as below,
but when I start debugging, there is a '--' parameter at end.
Where does the parameter come from, and how can I avoid it?
When I add some debug parameters, the '--' is still there , just between program name and the real parameters. It will break the debugging, because program doesn't know how to interpret it.
答案1
得分: 1
这是由IDE自动添加的,它的作用是将发送给delve的参数与发送给应用程序的参数分开。如果你没有任何参数,那么它是多余的,但它不会有害/不会打扰你。你目前在IDE方面有什么问题吗?
编辑:这个问题在新的EAP版本中已经修复,从EAP 8开始。
英文:
It is automatically added by the IDE and its there to separate the parameter sent to delve from the parameters sent to the application. In case you don't have any parameters then, as you say, it's redundant but it's not harmful / shouldn't bother you. Is there any problem that you currently have with the IDE?
Edit: This was fixed in the newer EAPs starting from EAP 8.
通过集体智慧和协作来改善编程学习和解决问题的方式。致力于成为全球开发者共同参与的知识库,让每个人都能够通过互相帮助和分享经验来进步。
评论