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

Disabling "Allocate console for GDB server" for J-Link debugger breaks debugging #312

Closed
jacek-s opened this issue Jul 25, 2018 · 3 comments
Assignees
Labels
Milestone

Comments

@jacek-s
Copy link

jacek-s commented Jul 25, 2018

As in the title - when de-selecting "Allocate console for GDB server" in the debugger options, it stops debuggning from functioning properly. When starting the debugger, it stops at "Launching: Configuring GDB" and doesn't continue further.

My intention was only disabling the unnecessary console.

@ilg-ul ilg-ul self-assigned this Jul 25, 2018
@ilg-ul ilg-ul added the bug label Jul 25, 2018
@ilg-ul
Copy link
Contributor

ilg-ul commented Jul 25, 2018

Oops!

This is tricky, at a certain point the logic to tell if the server is started was changed to hunt for a string in the console output. It seems that disabling the console prevents this logic to detect when the server is ready. :-(

The solution for the plug-in is to continue processing the console as normal, but do not display it.

I don't know now, but the changes might not be trivial.

For now I suggest to avoid deselecting this option. I might even disable it until a fix will be available.

@jacek-s
Copy link
Author

jacek-s commented Jul 26, 2018

I'll also add to those who use the "Show Console When Standard Out Changes" option and want to see the SVW console output but are annoyed with it changing to JLinkGDBServerCL.exe console every time you step in the program or read/modify variables or memory - the workaround is to use "Pin Console" on the SWV console. It'll stay there until you terminate the session.

This has to be done every time a new debugging session starts, as each session creates a new set of consoles.

@ilg-ul ilg-ul added this to the v4.6.1 milestone Aug 13, 2019
@ilg-ul ilg-ul closed this as completed Sep 23, 2019
@ilg-ul
Copy link
Contributor

ilg-ul commented Sep 23, 2019

Fixed in 4.6.1.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants