dirac

Dirac v1.7.2 is out: https://github.com/binaryage/dirac/releases/tag/v1.7.2
2016-05-02T00:00:49.000068Z

Docs Suggestion: as well as pointing out the Page-up / Page-down thing. I'd also mention that locals can only be accessed (in the console) by prepending js/ to their name.

2016-05-02T00:02:22.000069Z

In some ways it is should have been obvious (there were console warnings when i didn't do it), but the process of learning something new is always a bit of a blur, and I didn't twig to it easily.

2016-05-02T00:02:57.000070Z

On the other hand, perhaps it is already documented and I just missed it.

frank 2016-05-02T01:29:27.000076Z

locals?

frank 2016-05-02T01:31:02.000077Z

so if we set a breakpoint inside a let binding or fn call, we can access the locals with js/?

2016-05-02T01:39:17.000078Z

Yep

frank 2016-05-02T01:56:40.000079Z

wow I didn't know that, neat!

2016-05-02T10:33:32.000081Z

thanks for trying, Dirac is in early stage of development and docs are incomplete, help wanted, especially from someone using boot to add boot-specific bits

2016-05-02T10:35:34.000082Z

also Scope panel shows rewritten locals names with indices (to ease it for eyes), but when you want to enter them in REPL, you have to hover them with cursor to find the real name and then use js/real-name instead

2016-05-02T10:36:07.000083Z

I will probably implement some kind of auto-completion in the future, but for now it is the way it is

2016-05-02T10:37:39.000084Z

also don’t know how to convince cljs compiler to treat locals as normal cljs symbol names, those names are not defined in current namespace so they don’t get analyzed as clojurescript things, they must be prefixed with js/ as coming from js land

2016-05-02T10:48:41.000085Z

I seem to remember that when you compile you can supply an environment and in that environment you can supply a list of locals?

2016-05-02T10:50:35.000086Z

Of course you'd have to query the current stack frame to obtain that list of locals