News for hackers. Stuff that matters.
Re:Show HN: Time travel debugger for web development by thamer on Wednesday September 15, 2021 @01:11PM (#28541701)
Wow! Thank you so much for this comment. I have been using IntelliJ for over 10 years and I never knew this feature existed, I just gave it a try and it's incredibly useful.

One thing I wish Java debuggers supported was the ability to move the instruction pointer to a different line, as has been possible in other debuggers for ages. Is it a JVM limitation maybe? I remember being able to drag the "current line" pointer forwards or backwards in languages like C, C++, and C# in maybe 2003. I wish I could do this with Java; dropping the whole frame is useful but this feature lets you do a lot more, like break out of a loop or skip a block of code you _just_ realized shouldn't execute.

Re:Show HN: Time travel debugger for web development by matsemann on Wednesday September 15, 2021 @02:05PM (#28542327)
Never heard of that functionality, but googling brings up this https://blog.jetbrains.com/idea/2020/08/jump-to-any-line-whi...

> if you want to jump to a particular line and set an execution point there, without executing the preceding code

Re:Show HN: Time travel debugger for web development by lostmsu on Wednesday September 15, 2021 @01:32PM (#28541973)
> I remember being able to drag the "current line" pointer forwards or backwards in languages like C, C++, and C# in maybe 2003

This is because Visual Studio debugger was always state of the art.

Re:Show HN: Time travel debugger for web development by CRConrad on Friday September 17, 2021 @01:29AM (#28561580)
> This is because Visual Studio debugger was always state of the art.

AFAICR Borland's IDEs had that before the turn of the century.