Fork me on GitHub
#cider
<
2024-04-13
>
andrea.crotti16:04:14

I was thinking that it would be nice to be able to add debug statements (like tap for example) but without actually changing the code. Something like tracing a particular var for example, is that possible somehow with cider?

vemv16:04:06

flowstorm / ciderstorm seems to fit the bill

andrea.crotti16:04:39

Ah interesting I haven't used it before

jumar03:04:46

With cider you can already trace functions but it depends on what you mean by tracing

andrea.crotti07:04:10

Well I normally only need the value of a few vars not the whole function

andrea.crotti07:04:31

Which I would print or tap or def

Samuel Ludwig14:04:13

@U45T93RA6 how would you describe the maturity/usefulness of ciderstorm to flowstorm? I notice flowstorm seems to get the most dev attention, but I don't know if thats just because ciderstorm was much more easily "completed" :^)

vemv14:04:19

@U0739PUFQ would know best how to answer that!

jpmonettas14:04:31

@U0482NW9KL1 so FlowStorm would be the thing recording in both cases, so the recording is going to be the same. Then for exploring your recordings (like stepping) you can use the FlowStorm UI or cider-storm which is a Emacs UI for the same thing. The difference is that cider-storm UI provides a small subset of all the features provided by the FlowStorm UI, but both can be used at the same time

jpmonettas15:04:47

personally I just use the FlowStorm UI, but if you prefer to be in Emacs as much as you can, you can use cider-storm to do some stepping in emacs and if you need more features just eval the :dbg keyword and you are going to have the FlowStorm UI to explore the same recordings

jpmonettas15:04:21

does it make sense?

Samuel Ludwig15:04:41

much appreciated @U0739PUFQ, it does, I've used FlowStorm for a while now, and only recently came across Ciderstorm, but have yet to give it a try as I figured FS's UI was more fully featured :^) 👍

jpmonettas15:04:10

yeah, cider-storm so far is just the the quickbox jump + the stepper in Emacs

jpmonettas15:04:15

but even the stepper is less powerful because you can't click around, add prints, use the context menu jumps, no power stepping

❤️ 1