Hacker News new | ask | show | jobs
by pcx 3781 days ago
> 2. JNI debug is a bit of pain probably. But Java/Groovy/etc much easier to debug, compared to, say, Python

Woah! How is Java/Groovy/etc easier to debug than Python?? In Python you just add the following line wherever you want to debug:

  import ipdb; ipdb.set_trace()
1 comments

I was never managed to debug python code :( Maybe i'm doing something wrong. Never mind, I didn't want to offend python, it's only language I like besides jvm languages.

On other hand on JVM you don't even need such line, all works out of box, w/o code modification, never had any problem. At least with java and groovy