Clion attach to process

How does this feature work.. I tried to do this but unable to find the right way to do it.

I have the binary driver generated by clion. Then I run gdbserver localhost:33333 driver and try to connect to the gdbserver using attach to local process. Is this the right way to do it.

I am on Clion 2016.1.1 on Ubuntu

1 comment
Comment actions Permalink

Attach to Local process works by attaching debugger to a process by pid.

What you are describing is more like remote debugging (on a local host) that we are planning for CLion 2016.2.


Please sign in to leave a comment.