-
Notifications
You must be signed in to change notification settings - Fork 16
GDB debugger is killed when new vfs worker is started. #13
Comments
Apparently process.unref at https://github.com/c9/c9.ide.run.debug/blob/master/debuggers/socket.js#L118 doesn't have any effect because detached argument is missing and it's stdio is attached to the parent process. https://nodejs.org/api/child_process.html#child_process_options_detached |
@danallan for gdb debugger netproxy is not actually a proxy, but the runner itself. I think we need to change the way gdb is launched:
What do you think? |
Thanks for the follow-up, @nightwing! I like this idea, and I agree that moving what is now a misnamed "netproxy" is the right call. But in this scenario, wouldn't a script named And, so I'm understanding properly -- the communication between gdb and gdbserver would still occur via local TCP port? |
for the second point to work i'll need to add code to localfs to retrieve the script and place it in ~/.c9 folder (the same mechanism will be used for vfs extensions). I couldn't find a way to make gdbserver use named pipe, so it most likely have to use TCP port. |
This sounds great. What is the timeframe for adding the localfs retrieval code? In the meantime, I can start to rework netproxy to support this change. |
Any updates on localfs modifications, @nightwing ? It turns out that having a |
Most steps completed in #40, except for In the end, even as implemented in #40 (without localfs retrieval) it largely addresses the original issues described initially. |
#11 (comment)
The text was updated successfully, but these errors were encountered: