modern-cmake / cppfront

CMake wrapper around the cppfront repository
BSD 3-Clause "New" or "Revised" License
73 stars 19 forks source link

breakpoints ignored in vscode for files generated by the cpp2 #93

Closed shemeshg closed 1 year ago

shemeshg commented 1 year ago

Using clang14, clang16,

When I place a breakpoint in the build/cppfront/whatEver.cpp it is ignored. Normal breakpoints in cpp (none cpp2) are working fine.

About the system

alexreinking commented 1 year ago

I don't think that's a problem with this project. That sounds like a problem with VSCode not honoring breakpoints on generated files. You can try asking on their issue tracker, here: https://github.com/microsoft/vscode/issues

JohelEGP commented 1 year ago

See also https://github.com/hsutter/cppfront/discussions/589.

shemeshg commented 1 year ago

Thanks so much, I can confirm after setting vscode File association it is now working.