Code::Blocks Forums

User forums => Using Code::Blocks => Topic started by: Jim on February 15, 2022, 10:11:49 am

Title: How to do source code debug when attach to a process compiled out of codeblocks
Post by: Jim on February 15, 2022, 10:11:49 am
Hi

I have a application which is built outside code block IDE.
I run the application, get it's process ID,  then use code blocks to
attach to the process. I am able to set breakpoint etc but just
can do gdb debug instead of source code level debug. Can't
Does anyone know how to do source code level debug in this case?
Title: Re: How to do source code debug when attach to a process compiled out of codeblocks
Post by: BlueHazzard on February 16, 2022, 04:46:40 pm
Does your application has debug symbols?

Have you tried to make a project with the source files?