Hacker News new | ask | show | jobs
by lenkite 952 days ago
What pre-historic Java IDE were you using ? Intellij has supported time travel debugging in Java for nearly a decade.

https://www.jetbrains.com/help/idea/altering-the-program-s-e...

1 comments

Back then, Eclipse was what every guide and book told me to use, so that was where I started. These days I'm mostly on Jetbrains products. Microsoft made VS a weirdly slow, bloated piece of kit, but I still miss some of the features they have had for ages.

I don't get automatically reloaded classes in IntelliJ, though I think there's a button to manually reload code manually? The whole ease of development came from not having to manually pick what code to reload while debugging. Java also seems to have a bunch of limitations that C# doesn't have (and didn't have back when I tried it on Windows). For example, you can't add a method, or alter the return type of a method.

As for time travel debugging, I'm not sure how you do that in IntelliJ? I can't even see any way to undo the previous line of execution, let alone step through code in two directions. It looks like there are plugins for a bunch of languages, though, but those are all external tools built by third parties.

Rolling back executed code seems to work in Rider, but I don't seem to get any Edit and Continue functionality on Linux, which is probably a Microsoft thing.

It looks like I was mistaken though, "IntelliTrace" was a VS2010 feature, not 2008: https://learn.microsoft.com/en-us/archive/msdn-magazine/2010...