webassemblyemscripten

(C/C++ DevTools Support (DWARF)) Loaded debug symbols, but didn't find any source files


I am developing a c++ WASM app. I am often work with Chrome C/C++ DevTools(DWARF) extension to step into C++ source code during WASM debugging. A few days ago it was working fine. Now when loading WASM module into Chrome I am getting these in the console:

[C/C++ DevTools Support (DWARF)] Loading debug symbols for http://localhost:5500/WasmApp.wasm...
[C/C++ DevTools Support (DWARF)] Loaded debug symbols for http://localhost:5500/WasmApp.wasm, but didn't find any source files. 
Error in debugger language plugin: Error: InternalError: Unknown module with raw module ID http://localhost:5500/WasmApp.wasm@e3b0c442...

I triple checked Clang compiler settings,that -g is set. For emcc compiler I set via MS Visual Studio Emscripten Build target extension Generate LLVM Debug Information (-g3) . Also tried to replace with -g. Same thing. The only thing that has probably changed was chrome update. But I can't downgrade to the older version as in such a case WASM debug extension can't be installed.


Solution

  • Well, it appears that Chrome 133 causes this issue. I have upgraded to Version 134.0.6998.15 (Official Build) beta and the issue was gone.