Comment

Comment by werner34

I am a fan of python. when developing python and needing a breakpoint I just write >> import pdb;pdb.set_trace() in the respective line and can then execute the code till that point and have all the current variables available in the console.

This was missing for me when I started doing stuff in scala, so I hacked something to be able to do the same in Scala and jump straight to the REPL(unfortunately variables need to be passed explicitly here, but most of the REPL functionality works:

https://gist.github.com/anonymous/7693857

parent werner34 13 years ago

Discussion

Live from the official Hacker News API

A modern reader for Hacker News · SvelteKit + Skeleton