Hi,
Is there is any debugging solution in Linux similar to Win32's VC++ DebugBreak() call.
Hi,
Is there is any debugging solution in Linux similar to Win32's VC++ DebugBreak() call.
Put this in your linux code and see if it helps.
asm ("int $3") ;
what it does?
I am searching for the solution that will help me debug deamons, such that when a function, say UDebugBreak() is called, gdb spawns in a terminal decided by me or else, and it automatically attaches to the calling daemon's thread at the point of call.