Fork me on GitHub
#cursive
<
2015-07-14
>
Pablo Fernandez04:07:12

@cfleming: is it true that with IntelliJ 15, in Cursive, you’ll be able to debug expression by expression?

cfleming07:07:37

@pupeno: Not right away, I’ll have to implement it, but I hope so.

cfleming07:07:50

They support that for Java lambdas now.

Pablo Fernandez07:07:53

Sounds really cool simple_smile

Pablo Fernandez07:07:15

At the Clojure Dojo here in London yesterday someone was complaining about how hard it is to debug due to lack of that.

cfleming07:07:21

I was thinking about it last night, it’s potentially tricky since in Clojure you don’t know what is an expression just by looking at the source.

cfleming07:07:47

Well, it has its moments, but I use the debugger all the time and it’s never been a showstopper.

cfleming07:07:31

It depends on how they have implemented it, I haven’t looked yet. I’ll have to speak to their debugger developer and see if I can get some more info.

Pablo Fernandez07:07:52

Well, when I’m debugging Ruby, sometimes the debugger jumps erratically between lines inside a method and I suppose it’s some bug between RubyMine and the debugger. Even with that happening every now and then, the debugger is very useful.

Pablo Fernandez08:07:26

What I’m saying is that a non-perfect debugger, at least for me, it’s a very useful tool (unlike a non-perfect compiler).

cfleming08:07:32

Yes, absolutely.

Pablo Fernandez08:07:54

I haven’t done any debugging of Clojure at all. I should play with that a bit.

cfleming08:07:02

There’s some trickiness there with things like threading forms, too - I’m still not sure how best to handle those, or even if I can do very much with it.

cfleming08:07:36

Check out my talk from clj/west this year, I demo the debugger there and talk a lot about the various limitations of debugging Clojure.