![]() If I use the "C++ Attach"-config with "request": "launch" (in the beginning this was autogenerated by the C/C++-extension), then the program finds the process id, tries to attach but then aborts with the message "Unable to start debugging. If I set "processId", the error "Attach not supported" pops up. When using the "C++ Attach"-config and setting "request": "attach" (which is getting highlighted as "not an accepted value"), it will ask for the property "processId" if it is not set. For me it is not working anymore(because of VSCode updates and/or C/C++ extension updates). Some months ago, debugging was working with "attach". The main project itself does not contain any executables. I am also fine with starting and debugging in the same time as long as I can debug the sub-program "foo_sub1". I want to start the program "foo" (which starts all other foo_sub-programs) and then, I want to debug a certain sub program (let's say "foo_sub1") by attaching to it. I am working in the sub-project "/home/lvier/mainProject/fooProject" and in "/home/lvier/mainProject/ build/fooProject" there are many sub programs (lets say "foo", "foo_sub1", "foo_sub2". ![]() /home/lvier/mainProject/build/fooProject (binaries)./home/lvier/mainProject/fooProject (source code). ![]()
0 Comments
Leave a Reply. |
Details
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |