Author Topic: how to debug when attaching to a process  (Read 4397 times)

Offline nde

  • Single posting newcomer
  • *
  • Posts: 6
how to debug when attaching to a process
« on: June 12, 2009, 01:51:12 pm »
steps:
1. run a program
2. get PID
3. attach to process by PID, the C::B watches window shows "no symbol table info available"
4. the toolbar debug command "Next line/Next instruction/Step into/Step out" work properly, the watches window shows the variable name and value correctly now.
5. using "send user command to debugger" to send comands such as "c"(continue),"b"(set breakpoint),it works properly.
6. the toolbar debug command "Start/Continue/Run to cursor" will kill the process being attached and start a new program without warning.

It looks like something wrong with the toolbar debug command "Start/Continue/Run to cursor" when attaching to process , or do I miss anything?
« Last Edit: June 12, 2009, 02:03:12 pm by nde »

Offline nde

  • Single posting newcomer
  • *
  • Posts: 6
Re: how to debug when attaching to a process
« Reply #1 on: June 18, 2009, 05:56:55 am »
environment: win7rc+vmware6.5+ubuntu9.04+cb8.02

Offline Pecan

  • Plugin developer
  • Lives here!
  • ****
  • Posts: 2876
Re: how to debug when attaching to a process
« Reply #2 on: June 18, 2009, 01:59:05 pm »
steps:
...
6. the toolbar debug command "Start/Continue/Run to cursor" will kill the process being attached and start a new program without warning.

It looks like something wrong with the toolbar debug command "Start/Continue/Run to cursor" when attaching to process , or do I miss anything?


I confirm this.
svn build  rev 5604 (2009-05-16T13:47:20.357384Z)   gcc 3.4.5 Windows/unicode

Offline nde

  • Single posting newcomer
  • *
  • Posts: 6
Re: how to debug when attaching to a process
« Reply #3 on: June 19, 2009, 04:36:50 am »
Upgrade to debian-build 5616 which jens provided and confirm the problem again.