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
Chained configurations: 'folder' option is no longer working #636
Comments
Only on Windows or other platforms as well? |
I don't have other machines to try. I can ask someone to try tomorrow and will let you know. |
Hmmm. I don't see any chained configs in the zip file launch.json(s). FYI: it works in my own example with 1.4.x on Intel MacOS |
Please have a look at "Multi-Core-Prototype/.vscode/launch.json". There is a "Multi-Core Debug (KitProg3_MiniProg4)" config that refers "Attach PSoC6 CM4 (KitProg3_MiniProg4)". |
Okay, I missed that launch.json. I see you are still using https://code.visualstudio.com/docs/editor/variables-reference#_why-isnt-workspaceroot-documented We must restrict ourselves to these names https://code.visualstudio.com/docs/editor/variables-reference#_predefined-variables Since in the Debug Console, I print out what the chained config looks like (after translations) you can see what the final result is. Regardless, full path name should have worked but did you actually type in the full path name or use one of the variables defined by VSCode? |
See also https://code.visualstudio.com/docs/editor/variables-reference#_variables-scoped-per-workspace-folder Not sure it will be useful because that lanch.json is at the root. |
Hello Haneef, I am trying different options, but neither of them work:
I am always getting from Debug Console in a failed scenario: With Cortex-Debug 1.2.2, where everything works properly, I do not see a "folder" option printed to the console, thus not sure how translation is happening there. BTW, I have updated launch.json templates by replacing |
I am in a 2-day meeting so, have not had a chance to look at it. We do not touch that Will take a look on Wed |
Fixed in v1.5.0 |
Hello,
I am using chained configurations in order to launch multi-core debugging. I have my second 'chained' configuration in a separate launch.json file. In a primary configuration, path to the launch.json where second config is defined, given to a 'folder' option. With the latest Cortex-Debug, launching of second chained config fails due to inability to find second config. Neither absolute nor relative path given to 'folder' option work. However, when I switch to Cortex-Debug 1.2.2 it starts working. Thus, It looks like a problem is somewhere inside of Cortex-Debug starting from 1.4.0 version.
My project is quite large, so I am attaching .vscode folders structure for your analysis. I am trying to launch 'Multi-Core Debug (KitProg3_MiniProg4)' configuration.
Multi-Core-Prototype.zip
I am using Infineon PSoC6 device on Windows machine.
The text was updated successfully, but these errors were encountered: