crash in debug
Hi ! thanks a lot for your available template.
i had to modify the debug configuration to make it work. If not, the debug crash at init.
this one works well :
"configurations": [ { "name": "(lldb) Launch", "type": "cppdbg", "request": "launch", "program": "${command:cmake.launchTargetPath}", "args": [], "stopAtEntry": false, "cwd": "${workspaceFolder}", "environment": [ { "name": "PATH", "value": "$PATH:${command:cmake.launchTargetDirectory}" } ], "MIMode": "lldb", "logging": { "moduleLoad": false } } ]
thanks
Have you installed CodeLLDB extension? "type" : "cppdbg" means that you are trying to use built-in debugger.
Hi, if i use this :
"launch": { "configurations": [ { "type": "lldb", "request": "launch", "name": "CMake Debug", "program": "${command:cmake.launchTargetPath}", "args": [], "cwd": "${workspaceFolder}" }, ] }
it doesn't work, it crash as shown on the screenshot
and CodeLLDB is well installed vscode
sorry, i am very new at programming in Juce, VSC and cmake.
It looks that the program is not crushed but just paused. If you click the skip to next breakpoint(▶︎) button, it will continue to run. I have encounterd similar issue several times. It seems that CoreAudio pauses debugger somehow on macOS and I could not solve the issue(just clicking skip button every time I launch the program).