dirac

Dirac v1.7.2 is out: https://github.com/binaryage/dirac/releases/tag/v1.7.2
2016-04-29T02:03:50.000029Z

@slotkenov Do you mind sharing how you configured? That's currently the next thing I'm working on incorporating.

slotkenov 2016-04-29T07:13:11.000030Z

ah yes of course, I totally forgot about it

slotkenov 2016-04-29T07:32:28.000032Z

After running that you need to start up a repl in a second terminal with boot repl -c. In that repl then you need to call (dirac.agent/boot!) to start the agent.

slotkenov 2016-04-29T07:32:45.000033Z

Couldn’t get it any nicer than that :simple_smile:

slotkenov 2016-04-29T07:33:18.000034Z

Let me know if it works for you as well @jupl

2016-04-29T07:55:56.000035Z

Cool! I'll give it a shot later.

2016-04-29T16:59:09.000037Z

So it looks like all loads. However, I don't get the REPL in the console.

2016-04-29T17:28:57.000038Z

@jupl: did you manage to make it work?

2016-04-29T17:52:39.000039Z

Not yet so far. Console mentioned below on Canary with the DevTools extension. I'll mess around with it later.

Installing Dirac Runtime v0.2.0 and enabling features :repl

2016-04-29T17:56:32.000040Z

I don't see the green colors like in the screenshots and if I try to eval an expression like (+ 1 2) I get an error as that gets evaluated like JS.

2016-04-29T18:04:13.000041Z

@jupl: did you install the Dirac Chrome Extension?

2016-04-29T18:04:28.000042Z

do you see any errors on this page? <chrome://extensions/>

2016-04-29T18:10:41.000043Z

Yes and no.

2016-04-29T18:12:10.000044Z

so you confirm that you opened Dirac DevTools instead of normal DevTools, switched to console panel and switched to Dirac Prompt by PageUp or PageDown

2016-04-29T18:13:29.000045Z

Ahh...

2016-04-29T18:13:43.000046Z

The PageUp/Down was what I omitted.

2016-04-29T18:14:12.000047Z

yep, that is how you alternate between prompts

2016-04-29T18:14:26.000048Z

Is that in the documentation? I'm trying to see where I missed that.

2016-04-29T18:14:37.000049Z

Or is that a Chrome DevTools thing?

2016-04-29T18:15:34.000050Z

you are right, the documentation is not mentioning it ATM

2016-04-29T18:15:46.000051Z

it used to be there, but I split the docs and moved bunch of text into https://github.com/binaryage/dirac-sample

2016-04-29T18:15:58.000053Z

including this little detail 😉

2016-04-29T18:16:06.000054Z

Cool! Thank you all!

2016-04-29T18:17:07.000055Z

so you skipped dirac-sample, I will add a note about it at the end of the installation docs, so people should follow there

2016-04-29T18:18:00.000056Z

I skimmed it but I was I was working with Boot.

2016-04-29T18:18:16.000057Z

I skimmed it but didn't notice that part as I was working with Boot.

2016-04-29T18:18:41.000058Z

I think I would probably have gotten it as that was going to be my next step to see if I can replicate with the sample project.

2016-04-29T18:47:18.000059Z

Something interesting I'm observing.

2016-04-29T18:47:46.000060Z

In regular DevTools I can place breakpoints in the Chrome Debugger on any line with the original file via sourcemap.

2016-04-29T18:48:33.000061Z

In Dirac, however, not all line numbers are covered meaning I can't place breakpoints in certain places at the bottom.

2016-04-29T18:57:36.000063Z

@jupl: yes, I have seen that too. it seemed that just the line numbering is off, but breakpoints worked as normal

2016-04-29T18:58:25.000064Z

didn’t find the cause of this yet, will look into it later

2016-04-29T18:59:27.000065Z

Yeah it's no biggie since I just realized the breakpoint at the last line in the screenshot is a moot point.

2016-04-29T18:59:39.000066Z

Really cool! Thank you for the help.

😎 1