Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Liberty Debug view elements don't get cleaned up after "Stop" #293

Open
scottkurz opened this issue Dec 9, 2022 · 2 comments
Open

Liberty Debug view elements don't get cleaned up after "Stop" #293

scottkurz opened this issue Dec 9, 2022 · 2 comments
Labels
bug Something isn't working with the product
Milestone

Comments

@scottkurz
Copy link
Member

scottkurz commented Dec 9, 2022

If I do "Debug" then a "Stop" (e.g. from Dashboard), and then "Debug" again, my Liberty Debug configs pile up and don't get cleaned up in the Debug view.

E.g.
image

@scottkurz scottkurz added the bug Something isn't working with the product label Dec 9, 2022
@scottkurz scottkurz changed the title Debug view elements don't get cleaned up after "Stop" Liberty Debug view elements don't get cleaned up after "Stop" Dec 9, 2022
@scottkurz
Copy link
Member Author

Adding the observation that Eclipse seems to recognize at least our Debugger "session" is no longer running. We get different right-click ctx menu options for one of these not-cleaned-up elements:
image

compared to one where the JVM is active and the debugger is connected
image

@scottkurz
Copy link
Member Author

scottkurz commented Feb 15, 2024

I think somehow the debug launch is not completely terminating, some of the time.

Some times it does get cleaned up, in which case it looks like this (with the <terminated> string prefix in the view):
image

Not sure what the circumstances are for it working or not working. I've had it clean up successfully:

OTOH, when it doesn't work for whatever reason, the Debug view element never says <terminated> and it never goes away.

OTHER THOUGHTS

Might be mildly helpful for the view display to show the port, like the debugger child icon does, instead of just 'demo [Liberty]', for when the debugger underneath goes away. Not sure if we can change the view without renaming the launch itself, though, which we probably wouldn't want to do.

@scottkurz scottkurz added this to the 24.0.6 milestone May 2, 2024
@awisniew90 awisniew90 modified the milestones: 24.0.6, 24.0.9 Jun 25, 2024
@awisniew90 awisniew90 modified the milestones: 24.0.9, 24.0.12 Sep 24, 2024
@awisniew90 awisniew90 modified the milestones: 24.0.12, 25.0.4 Nov 20, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working with the product
Projects
None yet
Development

No branches or pull requests

2 participants