-
Notifications
You must be signed in to change notification settings - Fork 206
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
Search debugger first in selected CBS toolchain. #1033
Conversation
For Core Build System local debug target. If there is no absolute path set in the Debugger tab of the launch configuration, try to find the debugger first in the selected toolchain. If the debugger is not found in the toolchain, let GdbLaunch search in PATH. If an absolute path is set, GdbLaunch will use that. Fixes eclipse-cdt#1008
Hi @jonahgraham and @betamaxbandit , Here is my fix for #1008 |
Test Results 590 files - 11 590 suites - 11 13m 8s ⏱️ +20s Results for commit 4086e29. ± Comparison against base commit 751b031. This pull request removes 121 tests.
♻️ This comment has been updated with latest results. |
Please see #1002 (comment) for discussion about this new feature that comments tests results. I don't know why less tests were run, but the change doesn't seem to be the cause. |
Never mind - the difference is explained in the log, the maven run did not complete. I have restarted it. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This looks reasonable to me. @betamaxbandit can you confirm if this fixes the regression you identified in #1008?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM.
I haven't tested this. @ewaterlander , did you have chance to test this fix on Windows? |
@betamaxbandit and I did a screen share and tested this on Windows |
Tests are failing, catastrophically. I don't understand why and can't see that it is related to this change. But I need to investigate a bit before I merge to make sure this isn't somehow exposing some weird bug. |
#1035 has the same issue, so I am confident not related to this change now. |
I did test it, but on Linux. I could see that the debugger was taken from the toolchain. |
For Core Build System local debug target. If there is no absolute path set in the Debugger tab of the launch configuration, try to find the debugger first in the selected toolchain. If the debugger is not found in the toolchain, let GdbLaunch search in PATH.
If an absolute path is set, GdbLaunch will use that.
Fixes #1008