Reply To: Debugging Support for Lua

Home Forums General Programming Debugging Support for Lua Reply To: Debugging Support for Lua

#30711
synth
Participant
  • Topics: 13
  • Replies: 35
  • Total: 48

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.

Ctrlr