Earlier quoted context omitted.
seems like it worked but now I'm stuck at "Uploading replay" https://app.replay.io/recording/8731334f-4731-4c10-beee-7e4a...
Thanks for reporting I'll take a look at what went wrong there. I just visited the recording and the upload seems to have completed - I can view the recording from your link and debug it. I assume you shared it publicly?
Show HN: Time travel debugger for web development
191–200 of 223 posts
Re: Show HN: Time travel debugger for web development
#192Engineer @ Replay here - If you're a console.log kind of developer (isn't everyone at least some of the time?), you should check this out. Imagine being able to add console.log() statements to code that already ran and seeing the results immediately! It's a bit mind blowing the first time you use it.
Do you have a demo video of doing exactly this? I downloaded the app, it's unclear how to edit code that's already run.
You can click on the line-number next to a line of code to add a print at that location. If you hover over the line-number, it'll show you a count (exact and correct) of how many times that line of code hit during execution. Clicking on it adds a print log at that line with a default string.
At that point, the console log in the left should change immediately to include a bunch of new entries with "Loading.." text that resolves to the text of each print statement.
Clicking on the string allows you to replace it with an expression to be evaluated. The expression can include references to local scope variables, etc.
If you edit the expression, the console entries for the prints go back to "Loading.." and the new values are resolved.
The prints in the console are ordered in time sequence along with all the other events that can be shown there (regular console logs, mouse and keyboard and other events, etc.)
Re: Show HN: Time travel debugger for web development
#193Earlier quoted context omitted.
What I mean is coming up with a condition to make as a watch/breakpoint isn't always obvious. Especially with errors that happen "sometimes randomly".
If an error causes an exception there is an option to suspend execution when one is thrown.
Re: Show HN: Time travel debugger for web development
#194Earlier quoted context omitted.
Currently the only way to sign up for a personal account is through google. Is there another way that I am missing, or are there any plans to provide email based signups in the future?
(Replay engineer) Google is currently the only way unfortunately. We wanted to support secure logins at launch, with SSO and Multi-factor Authentication, and focus most of our efforts on the core product. As a result we just went with Google for launch. We don't currently have any plans to add additional authentication mechanisms but we've heard this feedback from a couple folks and we'll sit down to prioritize it af…
Re: Show HN: Time travel debugger for web development
#195For those who are looking to similar tooling in back end space, check - https://undo.io/ (It can also support Golang https://docs.undo.io/GoDelve.html ) - Mozilla RR https://rr-project.org/ - GDB https://www.gnu.org/software/gdb/news/reversible.html Unfortunately, works only in Linux. https://en.wikipedia.org/wiki/Time_travel_debugging
Re: Show HN: Time travel debugger for web development
#196Re: Show HN: Time travel debugger for web development
#197Earlier quoted context omitted.
Now I'm even more excited. Replay Team - please consider charging a reasonable amount ($10/mo) for individuals/small teams. I want this to be viable as a business.
What, no! I'm a broke college student, I don't want to pay for this, at least not yet.
Perfect if they can support both with free plans.
Re: Show HN: Time travel debugger for web development
#198Earlier quoted context omitted.
The problem with breakpoints is my loop runs 1000 times and I only care about the one time it errors. Making watch logic for that sometimes is too complicated or changes the outcome (race conditions especially). This seems like a great solution. I'll be checking it out!
Err, conditional breakpoints are your friend. Also the GP claims "nobody" uses breakpoints? Everyone in my team uses them all the time. Suppose it all depends on your language/tool chain, in my experience breakpoints are very commonly used by developers in visual studio.
Re: Show HN: Time travel debugger for web development
#199Earlier quoted context omitted.
Now I'm even more excited. Replay Team - please consider charging a reasonable amount ($10/mo) for individuals/small teams. I want this to be viable as a business.
What, no! I'm a broke college student, I don't want to pay for this, at least not yet.