-
Notifications
You must be signed in to change notification settings - Fork 4.8k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[browser] Fix debugger support #97213
Conversation
Tagging subscribers to 'arch-wasm': @lewing Issue DetailsTBD Fixes #96239 TODO
|
…milar behavior for WASI
# Conflicts: # src/mono/browser/runtime/loader/config.ts
…nto csproj + print debug level on runtime)
Co-authored-by: Ilona Tomkowicz <32700855+ilonatommy@users.noreply.github.com>
src/mono/browser/runtime/startup.ts
Outdated
if (!loaderHelpers.isDebuggingSupported() || !config.resources!.pdb) { | ||
debugLevel = 0; | ||
} | ||
cwraps.mono_wasm_load_runtime("unused", debugLevel); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I don't know if mono_wasm_load_runtime
is an API for somebody, but I guess we could drop the un-used param all the way to driver.c
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I thought it's in the unmanaged side for some reason, otherwise you would have removed it already. I'll try and we'll see 🤞
WasmDebugLevel==0
set by userCopyOutputSymbolsToPublishDirectory=true
orWasmDebugLevel!=0
set by userdebugLevel
to mono runtime only when browser is supported for debugging, otherwise pass 0debugLevel
for all loggingFixes #96239
Fixes #94174
Fixes #93622