On Mon, Feb 15, 2021 at 3:40 PM 'Maksim Ivanov' via emscripten-discuss < [email protected]> wrote:
> As a more narrow question, could anyone point me to the analog of gdb's > > "catch syscall exit exit_group" > Are you asking about exit in particular or syscalls in general? devtools is not aware specifically of syscalls, but all the "syscalls" in emscripten are implemented in JS so you should be able to set breakpoints in them just fine. Is that not working for some reason? > > in DevTools Wasm debugging? > > > On Wed, Feb 10, 2021 at 2:17 PM Maksim Ivanov <[email protected]> wrote: > >> Hello, >> >> I'm trying to investigate a crash in my code ported to WebAssembly, and >> was hoping to get additional information using Address Sanitizer. >> Unfortunately, ASan fails too, with the following error: >> >> "AddressSanitizer: nested bug in the same thread, aborting." >> >> There's no stack trace attached to this message. I don't know if this >> problem is related to some Emscripten-specific ASan+threading issues (like >> github.com/emscripten-core/emscripten/issues/13205; however, unlike that >> issue, the "nested bug" is reproducible both under Node.js and Chrome). >> >> Anyway, does anyone have a tip on how such a failure could be debugged? >> >> Apparently, DevTools misses this failure even when "Pause on exceptions" >> is turned on, so that the execution continues until the point "program >> exited (with status: 1)" is logged - obviously, without any traceback. >> >> >> Thanks, >> Maksim >> > > -- > 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 [email protected]. > To view this discussion on the web visit > https://groups.google.com/d/msgid/emscripten-discuss/CAH%3DwB8yinRO3XppT3Trm1o-633LR8SZuhg9beMRjp_LfrYCgrg%40mail.gmail.com > <https://groups.google.com/d/msgid/emscripten-discuss/CAH%3DwB8yinRO3XppT3Trm1o-633LR8SZuhg9beMRjp_LfrYCgrg%40mail.gmail.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 [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/emscripten-discuss/CAL_va2_zyGEG6Uhg4JguaVTAtBvk0_xzx%3DtUWqKocSA-j0pHGQ%40mail.gmail.com.
