Skip to content

Conversation

@adamscott
Copy link
Member

@adamscott adamscott commented Apr 26, 2025

Note

I put the PR for 4.5 as an upcoming (big) PR will need the CreateTemplateZip() refactor

This PR actually makes separate_debug_symbols=yes work on the Web platform. Beforehand, the option was just ignored by the Web buildsystem.

It also edit the Wasm loading (the JS files edited) in a way to keep intact as much as possible the Response of the wasm file. This makes debugging Godot possible using the C/C++ DevTools Support (DWARF) Chrome extension.

Capture d’écran, le 2025-04-26 à 15 46 40

It would be actually nice to use if only it wouldn't crash on breakpoints due to Godot being a little bit too big for its taste. (I think it's fixable, though, but it's up to Google)

The PR is also refactoring a little bit the CreateTemplateZip() function in order to simplify it. 

@adamscott adamscott requested review from a team as code owners May 2, 2025 19:59
@Mickeon
Copy link
Member

Mickeon commented May 3, 2025

Did something go wrong during rebasing?

@adamscott
Copy link
Member Author

Did something go wrong during rebasing?

Ooops. Seems so.

@adamscott adamscott force-pushed the fix-web-separate-debug-symbols branch from d8057da to f2fce75 Compare May 13, 2025 17:57
@adamscott adamscott removed request for a team May 13, 2025 17:57
@akien-mga akien-mga requested a review from Faless June 12, 2025 11:10
@Repiteo Repiteo modified the milestones: 4.5, 4.x Jun 16, 2025
@adamscott adamscott force-pushed the fix-web-separate-debug-symbols branch from f2fce75 to f7f9d5a Compare July 23, 2025 15:01
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants