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

Debugging Worlds #1687

Open
rickmcgeer opened this issue Dec 11, 2024 · 1 comment
Open

Debugging Worlds #1687

rickmcgeer opened this issue Dec 11, 2024 · 1 comment
Assignees
Labels
📟 support inquiry Questions that can be answered without changing code to be considered

Comments

@rickmcgeer
Copy link
Collaborator

rickmcgeer commented Dec 11, 2024

What would you like to achieve?
This issue may be specific to me, but I am having trouble figuring out how to debug errors in frozen code that don't appear in the studio, largely because they have to do with initialization of the world. See engageLively/galyleo-dashboard#201 for an example. Another is engageLively/galyleo-dashboard#202. These issues only show up on frozen worlds, where the debugging environment isn't as good as it is in Lively.

How are you trying to achieve that
I'm tracing the issue in the console debugger in the Frozen world, guessing, and playing detective. Eventually I got them fixed, but it was difficult and painful. Source maps will presumably help.
I think the real issue is that the problematic code was in a subclass of the Lively world, and of course that isn't instantiated until you get to a frozen world...

@rickmcgeer rickmcgeer added the 📟 support inquiry Questions that can be answered without changing code label Dec 11, 2024
@merryman merryman self-assigned this Dec 11, 2024
@merryman
Copy link
Member

This could be alleviated by providing source maps for the frozen bundles. This will not be covered by #1684 since that would include migrating the freezer to babel and that would make the PR too large. I will spend time on this once #1684 is merged.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
📟 support inquiry Questions that can be answered without changing code to be considered
Projects
None yet
Development

No branches or pull requests

2 participants