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

Os specific setting bug? #536

Closed
darexa opened this issue Nov 22, 2021 · 2 comments
Closed

Os specific setting bug? #536

darexa opened this issue Nov 22, 2021 · 2 comments

Comments

@darexa
Copy link

darexa commented Nov 22, 2021

Going from 0.4.7 to 0.4.8 broke my debugging settings.
Specifically I used "cortex-debug.gdbPath" in my settings file and it now complains that the GDB file does not exist.
If I understand the release notes correctly it should be looking for .linux first(in my case) and then default to the regular one.
It seems neither .linux or the default path works correctly.

Looking at the code it seems it is looking for '-'linux rather than '.'linux and adding '-'linux to my settings file made it work again.

const osOverride = (propName || dstName) + '-' + ((osName === 'win32') ? 'windows' : (osName === 'darwin') ? 'osx' : 'linux');

haneefdm added a commit that referenced this issue Nov 22, 2021
@haneefdm
Copy link
Collaborator

Sorry, issue should be addressed. Thanks for reporting this. There was some confusion as to which suffix to use and code did not match the intent. Please try out the new release (should auto update shortly) and reopen if issues persist

@darexa
Copy link
Author

darexa commented Nov 23, 2021

Thanks, works fine now!

mayjs pushed a commit to mayjs/cortex-debug that referenced this issue Apr 6, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants