-
Notifications
You must be signed in to change notification settings - Fork 26
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Attache process debugging support #27
Comments
This will require remote debugging support to work (#2). |
I think to try your debugger with Defold, but I don't have any ways to run Defold debug build with command line, only manually with UI. Waiting for remote debugging. Look at mobdebug for inspiration. Unfortunately, there is no any text editor with a mobdebug extension, but it's simple and stable with ZeroBraine Studio and Defold built-in editor. |
I think this would work with the named pipe support now? |
This may be possible now but I'll have to investigate. Attaching presumes that the Lua program is running when the debugging extension starts, which means Lua needs to create the pipe. I'm not sure that's possible without extra libraries (especially on windows). |
the lua program could probably just don't debug stuff until the pipe exist (the existence of the pipe itself could be the signal to start debugging) |
Polling for the pipe to exist would likely be prohibitively slow. Supplying a polling method to the environment to call at regular intervals might be possible (similar to what's suggested in #32), but this would require the user to call the hook in an appropriate place. |
I hope it provide Attache process debugging support,
The text was updated successfully, but these errors were encountered: