[ZeroBrane Studio] Re: Debugging

  • From: Paul K <paul@xxxxxxxxxxxxx>
  • To: zerobrane@xxxxxxxxxxxxx
  • Date: Mon, 7 Jan 2013 10:14:37 -0800

Hi Chris,

> I'd certainly be interested to see something about coroutine debugging - my
> initial fumbling attempts in this area make it very evident that it's not
> entirely straightforward.

This is most definitely going to be covered. You can enable coroutine
debugging by adding require('mobdebug').on() to the particular
coroutine you want to debug or require('mobdebug').coro() to the
beginning of your script if you want to debug all coroutines. I have a
brief description in the MobDebug documentation:
https://github.com/pkulchenko/MobDebug/blob/master/examples/README
(see item 5 on the list).

Paul.

On Sun, Jan 6, 2013 at 1:14 AM, Chris Liles
<chris.liles@xxxxxxxxxxxxxxxxxx> wrote:
> I'd certainly be interested to see something about coroutine debugging - my
> initial fumbling attempts in this area make it very evident that it's not
> entirely straightforward.
>
> Regards
> Chris Liles

Other related posts: