Home › Forums › General › Programming › Debugging Support for Lua › Reply To: Debugging Support for Lua
October 15, 2014 at 12:14 pm
#30711
On thinking more about this before I try this out, there is no need for a separate thread at all to update the Method Editor. The lua code can simply call back to C++ and there we can update the Method Editor and only show an UI to resume execution in a separate thread. Then we go into a modal loop in the main thread to block it.
When the user clicks resume, this separate thread terminates and unblocks the main thread to resume.