initial attempt at time travel debugging#671
initial attempt at time travel debugging#671mreinstein wants to merge 8 commits intobigskysoftware:devfrom
Conversation
|
Heya Mike, thank you for this! Some feedback:
|
|
I'm going to propose renaming this to debugger.js and planning on removeing hdb in favor of it. Do you want me to create a branch for this work? I can start working on the UI. |
I don't have a strong opinion in favor of the event emitting method, cool with the callback approach. If you have any suggestions on naming, attributes etc. that conform to existing norms, happy to use those.
Yes - on biome.js it's something I committed so that my editor doesn't try to lint/re-format the entire codebase and worker.js, I was having trouble on my dev branch getting workers to behave. I assume it may have been resolved since the dev branch was volatile around the time I forked.
This PR intentionally was never meant to be merged as-is, which is why I added |
This PR isn't meant to be merged (hence the draft state), mostly showing the v1 prototype and soliciting feedback.
Puts the new debugger in another hyperscript plugin,
ttd.jsso as not to interfere with the existing hdb module (for now)hyperscript:beforeEval,hyperscript:afterEvalso the debugger can record context state before and after each node runsttd.help()to see the various properties and methods availablettd-test-workers.html?_ttd=trueandttd-test.html?_ttd=truein a browser as starting pointsknown issues: