-
Notifications
You must be signed in to change notification settings - Fork 240
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
JLinkGDBServer fails to launch due to a timeout #917
Comments
5 seconds is an eternity. Are you able to run GDB the way you set it up for us from the command line? Please run the command manually in a terminal and report back what you see. We print every command exactly the way we run it in debug console.
If we are not getting responses from gdb in a timely fashion, it will be a very poor debug experience. |
That timeout didn't used to exist. Not even zero. We added that because of stupid Linux gdb distributions with missing python or curses or some other library and it would just hang without any messages. So, no we are not increasing the timeout and rather we need to find your root cause. |
Please edit this title. JLink was not the problem as you yourself say. |
No response so closing this... |
Please make you search through our existing issues (both open and closed)
Describe the bug
The JLinkGDBServer can fail to launch due to a hardwired timeout. Increasing the timeout time eliminates the problem.
To Reproduce
Steps to reproduce the behavior:
Expected behavior
[comment]: <> JLinkGDBServer launches successfully.
Screenshots
[comment]: <> If applicable, add screenshots to help explain your problem.
Environment (please complete the following information):
[comment]: <> Whenever possible, please make sure you are using the latest versions of VSCode and our extension
Please include
launch.json
}
Note: We are unlikely to look at the issue if you do not supply this
Attach text from
Debug Console
Please enable debug output in your launch.json (
"showDevDebugOutput": "raw"
). It this is too large, please attach it as a fileAdditional context
Add any other context about the problem here.
The hardwired timeout value is in src/backend/mi2/mi2.ts near line 90:
Changing 5000 to a bigger value fixes the problem. Ideally, this could be a VSCode configurable parameter.
The text was updated successfully, but these errors were encountered: