-
Notifications
You must be signed in to change notification settings - Fork 67
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
Componentize Debug Builds #537
Comments
Thanks for the kind words. Slowly getting back to things here - this is currently being tracked in bytecodealliance/ComponentizeJS#137, which in turn is blocked on bytecodealliance/StarlingMonkey#173. The problem is that we need to use a partially optimized build for ComponentizeJS to work properly, which in turn requires There may well be something very simple here that could be figured out, and I must admit I haven't looked very deeply into it, but that's where things stand right now. The alternative if we can't figure that out would be to try and figure out how to get ComponentizeJS working with a full debug build, but that would require some low-level changes to the splicer. 100% agreed this is an important feature. Note that in general retaining console logging via stdio being enabled as a feature can resolve many issues that are not engine panics. |
A workaround to get a lot of stack traces to show up is to use a local debug build of CompentizeJS. You will need to clone this jco repo and the ComponentizeJS repo. In |
Sorry, I was wrong. Using debug builds is not supported. bytecodealliance/ComponentizeJS#176 (comment) |
First: Thanks for this amazing project! I've been using it a lot lately and it's really a joy!
I'd love to be able to get debug builds out of Jco. I've ran into multiple cases where the wasm was crashing with unhelpful stack traces, and narrowing down the problem was extremely hard.
For example:
My understanding from here and here is that a debug build would give better track traces, and hence help with tracking down these kinds of crashes.
The text was updated successfully, but these errors were encountered: