User forums > Using Code::Blocks
how to debug when attaching to a process
(1/1)
nde:
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?
nde:
environment: win7rc+vmware6.5+ubuntu9.04+cb8.02
Pecan:
--- Quote from: nde on June 12, 2009, 01:51:12 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?
--- End quote ---
I confirm this.
svn build rev 5604 (2009-05-16T13:47:20.357384Z) gcc 3.4.5 Windows/unicode
nde:
Upgrade to debian-build 5616 which jens provided and confirm the problem again.
Navigation
[0] Message Index
Go to full version