Skip to content
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

[wasm] WasmDebugLevel in samples #79644

Merged

Conversation

pavelsavara
Copy link
Member

do not enable debugging is samples in release mode because it disables interp optimizations

See

if (debug_level) {
// Disable optimizations which interfere with debugging
interp_opts = "-all";
mono_wasm_enable_debugging (debug_level);
}

@ghost
Copy link

ghost commented Dec 14, 2022

Tagging subscribers to 'arch-wasm': @lewing
See info in area-owners.md if you want to be subscribed.

Issue Details

do not enable debugging is samples in release mode because it disables interp optimizations

See

if (debug_level) {
// Disable optimizations which interfere with debugging
interp_opts = "-all";
mono_wasm_enable_debugging (debug_level);
}

Author: pavelsavara
Assignees: pavelsavara
Labels:

arch-wasm, area-System.Runtime.InteropServices.JavaScript

Milestone: 8.0.0

@radical
Copy link
Member

radical commented Dec 14, 2022

Add a xml comment too, so this doesn't get removed by accident.

@pavelsavara
Copy link
Member Author

Failure is unrelated

@pavelsavara pavelsavara merged commit e395c7c into dotnet:main Dec 15, 2022
@ghost ghost locked as resolved and limited conversation to collaborators Jan 14, 2023
@pavelsavara pavelsavara deleted the wasm_not_debugging_release_samples branch September 2, 2024 15:29
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants