Is it possible to attach a debugging session to a running program in eclipse CDT

前端 未结 2 348
孤街浪徒
孤街浪徒 2020-12-03 16:57

I\'m writing a netscape iplanet plugin (on solaris/C using eclipse) which is basically a shared object with specific entry points, and I\'d like to be able to debug the shar

相关标签:
2条回答
  • 2020-12-03 17:35

    Yes it is. You need to go to the Lauch Configuration Dialog and select "C++ Attach to ...". Depending on your Eclipse version there may be only one or more "C++ Attach to ..." variants available.

    0 讨论(0)
  • 2020-12-03 17:37

    I use Eclipse CDT for HP/UX remote environment. I'm not sure whether it will work for you:

    1. have your app running on unix

    2. go to Run / Debug Configurations / C/C++ Attach to Remote

    3. click Debug and a list of processess will be shown

    4. select the process you want to debug.

    0 讨论(0)
提交回复
热议问题