[ZeroBrane Studio] Re: zbs-vim plugin
- From: Paul K <paul@xxxxxxxxxxxxx>
- To: Paul Reilly <pajthbr@xxxxxxxxx>
- Date: Tue, 31 Oct 2017 11:07:32 -0700
Hi Paul,
Thanks for this. It appears to run through the program, stopping at any
breakpoints and it starts a 2nd instance of ZBS, but breakpoints are no
longer triggered and the program can't be paused.. It's not very important,
but if there's something I am missing it would be good to know.
I figured out what happened. Some of the events (actually most of
plugin events and all that deal with UI) are triggered from a
different thread, which doesn't have debugging hook enabled, and the
breakpoints don't work as the result. There is a section in the
documentation on how to deal with a case like this:
https://studio.zerobrane.com/doc-lua-debugging#coroutine-debugging
Paul.
Other related posts: