dirac

Dirac v1.7.2 is out: https://github.com/binaryage/dirac/releases/tag/v1.7.2
adamrenklint 2018-01-28T14:49:36.000026Z

I ran into something else interesting, maybe just a known limitation, but feels like it severely limits the usefulness of being able to execute code at breakpoints: https://gist.github.com/adamrenklint/497d6db755eba21b965ee56f610314b8

adamrenklint 2018-01-28T14:51:05.000023Z

When I call a function that contains a breakpoint from the REPL, I am not able to call any other functions from the REPL while stopped at that breakpoint.

2018-01-28T14:56:50.000032Z

@adamrenklint aha, thanks for reporting

2018-01-28T14:58:43.000063Z

this probably makes sense, because on server-side, we request-eval from javascript, it stops on a breakpoint and then in dirac prompt we request another code snippet to be evaluated by javascript, but the server-side component can deal only with one request at a time - it processes them in serial queue and still waiting for result of the first eval

2018-01-28T14:59:50.000072Z

I will probably have to think about this scenario, maybe allow multiple pending eval requests or somehow treat the eval request paused on a breakpoint as “completed”

👍 1
2018-01-28T15:10:29.000064Z

=> https://github.com/binaryage/dirac/issues/74

2018-01-28T15:10:51.000040Z

feel free to open issues next time