Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

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

I am developing a c++ WASM app. I 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.

like image 638
Michael IV Avatar asked Oct 17 '25 13:10

Michael IV


1 Answers

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.

like image 101
Michael IV Avatar answered Oct 19 '25 14:10

Michael IV



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!