Seems like a bug related to absolute files paths in source maps, maybe specific to windows. Can you open a bug, ideally with a simple source map (smaller the better) attached?
cheers, sam On Mon, May 6, 2024 at 6:49 AM 'Dieter Weidenbrück (dweidenbrueck)' via emscripten-discuss <emscripten-discuss@googlegroups.com> wrote: > Hi all, > > I noted that Chrome can't find the emscripten source files. This used to > work at one point, but I don't know whether I changed anything or something > else has changed. > > My sources: > D:\Dev\myArea\myApp containing src, include, and other folders > Emscripten sources: > C:/Users/myName/emsdk/upstream/emscripten/ > > I run the project on localhost: > localhost/myArea/myApp > and I use > --source-map-base ./ > > The debugger can find all files in the myApp directory and below. > However, the source map shows: > src/filename.c for my files, which is correct > but > C:/Users/myName/emsdk/upstream/emscripten/... for emscripten files > which turns to > file:myArea/myApp/C:/Users/myName/emsdk/upstream/emscripten ... > > Any idea how I can fix this? > Thanks for any advice! > Dieter > > -- > You received this message because you are subscribed to the Google Groups > "emscripten-discuss" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to emscripten-discuss+unsubscr...@googlegroups.com. > To view this discussion on the web visit > https://groups.google.com/d/msgid/emscripten-discuss/83a3e5a8-c56d-41fb-902f-25c5cae21fabn%40googlegroups.com > <https://groups.google.com/d/msgid/emscripten-discuss/83a3e5a8-c56d-41fb-902f-25c5cae21fabn%40googlegroups.com?utm_medium=email&utm_source=footer> > . > -- You received this message because you are subscribed to the Google Groups "emscripten-discuss" group. To unsubscribe from this group and stop receiving emails from it, send an email to emscripten-discuss+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/emscripten-discuss/CAL_va28CviydwWVwEwFh93N%2B4qXLF5FcL%2B0JuGSNbrUu8q6yzg%40mail.gmail.com.