Closed saaadhu closed 8 years ago
@saaadhu is there an alternative to lsof that is installed on arch linux by default?
None that I know of. There's always the option to read from /proc (http://stackoverflow.com/questions/1980355/linux-api-to-determine-sockets-owned-by-a-process), but I guess that's overkill
sorry for not replying earlier, the plan was to remove lsof dependency, but doing that took longer than expected https://github.com/c9/c9.ide.run.debug/pull/40#event-754313516
The gdbdebugger plugin implementation uses lsof and greps for gdbserver to see if it has started, and keeps looping until it does.
On a standard arch linux box, lsof is not installed by default, and this causes the plugin to assume gdbserver hasn't spun up - it ends up looping endlessly. Takes some time and debugging effort to figure out the actual problem.