Comments (4)
Ok, after looking again with fresh eyes and getting hold of the typescript files, I have found the error.
"JSExport with multi-threading enabled is not supported with assembly ${assembly} as it was generated with the .NET 7 SDK" for assembly = Uno.WASM.MetadataUpdate
As I am digging into the unknown (for me), I'm putting this here as it seems like it might make sense to someone more knowledgeable. Meanwhile, I can't immediately see where this assembly is coming from so I will keep digging.
from uno.wasm.bootstrap.
Workaround: Unsuccessfully, tried to find a way to disable hot-reload before the app is loaded in debug mode, but Release mode works properly without an error.
from uno.wasm.bootstrap.
Thanks for the report.
We'll likely need to build this project with net8 instead.
from uno.wasm.bootstrap.
Thanks, can confirm the using latest builds (dev.3455) app now runs fully in debug mode with threading.
However, just for information, when multithreading is enabled, breakpoints are not hit and the browser window is disconnected from the server. The only difference in terms of console messages is the following error in multithreaded mode:
Unable to set option 'no-jiterpreter-traces-enabled' as it's read-only. dotnet.native.js
I'm guessing that's a dotnet issue, though. Work arounds are just console debugging or switching off multithreading temporarily, but at least with shorter compile times of debug mode.
from uno.wasm.bootstrap.
Related Issues (20)
- Randomly received targets error
- Embedded.js does not find mono-config.js HOT 7
- [WASM] Include `<meta>` tags for sharing by default HOT 1
- When loading fails on mobile, there is no way to know why HOT 1
- [Perf] packager should not use powershell to copy files
- Add support for WasmFS HOT 1
- Loading the app does not periodically yield to allow rendering HOT 1
- Include Single Quotes in EscapeJS? HOT 1
- System.ApplicationException: Unable to move PACKAGE_DIST - Access to the path is denied HOT 4
- VS Debugger is slow HOT 1
- `AccelerateBuildsInVisualStudio` breaks boostrapper based builds
- [WASM] Bug in 'service-worker.js' when using the 'WasmPWAManifestFile' option in project file HOT 3
- extension-less support causes in-place compression to be disabled
- Improve support for build acceleration
- Stuck loading app
- Splash image should not be selectable
- Microsoft.CodeSharing.Common.Default.props Not Found in Gitpod HOT 4
- JS Interop only works on main thread when using multiple threads HOT 4
- VS breakpoints don't work with WasmShellEnableThreads HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from uno.wasm.bootstrap.