How to view shell commands used by eclipse “run configurations”

前端 未结 3 548
梦毁少年i
梦毁少年i 2021-01-31 02:50

Given a \"run configuration\" in Eclipse, I want to print out the associated shell command that would be used to run it.

For example: Right now, in Eclipse, if I click

3条回答
  •  野性不改
    2021-01-31 03:30

    thanks so much splash. one thing to add-- i was getting a weird error at the commandline:

    ERROR: transport error 202: connect failed: Connection refused ERROR: JDWP Transport dt_socket failed to initialize, TRANSPORT_INIT(510) JDWP exit error AGENT_ERROR_TRANSPORT_INIT(197): No transports initialized [../../../src/share/back/debugInit.c:708] FATAL ERROR in native method: JDWP No transports initialized, jvmtiError=AGENT_ERROR_TRANSPORT_INIT(197) Aborted!

    this can be avoided by just taking out the agentlib argument:

    -agentlib:jdwp=transport=dt_socket,suspend=y,address=localhost:56431

提交回复
热议问题