Skip to content

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 pavelsavara requested a review from thaystg December 14, 2022 15:14
@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