redhat-developer / vscode-rsp-ui

A unified UI for all RSP servers and RSP server-providers to integrate with
Eclipse Public License 2.0
38 stars 21 forks source link

Dialog window to write the project name for the Java debugger #266

Closed leosj29 closed 1 year ago

leosj29 commented 1 year ago

The window to specify a project name for java debugger opens and closes immediately, so it is not possible to specify a new project name (if required). This occurs after the first time the project name is specified.

Environment
Steps To Reproduce
  1. Use the extension Community Server Connector.
  2. Add an Apache Tomcat Server.
  3. Right click and select "Debug Server".
  4. The window appears to select a project name to be used by the java debugger.
  5. Specify a project name.
  6. Apache Tomcat Server deploys fine in debug mode.
  7. Stop the Apache Tomcat Server.
  8. When you try to repeat step 3, the window to write a project name opens and closes immediately.

Screenshot from 2023-03-09 11-04-36

Screencast from 09-03-2023 11:02:22.webm

Current Result

The window to write a project name opens and closes immediately.

Expected Result

The window to write a project name should open (remembering the previous one) and wait for user action

Additional Informations
jfrantzius commented 1 year ago

Same for me on

For me also the input field for the project name appears only in a short blip, then disappears and the Debugger view comes up. Tomcat then starts up, while RSP UI still says that it is stopped.

The most negative effect is that it's not possible to evaluate any variables in the Debug Console anymore, as that results in

Cannot evaluate because of java.lang.IllegalStateException: Cannot evaluate, please specify projectName in launch.json..

Unfortunately there seems to be no way of setting the projectName via launch.json, so debugging a server now is broken to a large extent.

ping @robstryker :-)

robstryker commented 1 year ago

Looking into it.

robstryker commented 1 year ago

Focus issue. I'll make a hotfix release ASAP.