When I try to build the source with debug mode the stack shown is totally diffrent and in case of release there are only a few methods shown in the backtrace with gdb , Why does this happen ? Is this because in debug mode there are extra methods , How can have two methods have the same address in debug and release mode . Also in that case How can I build to to have accurate address information with complete stack trace . Any help would be appreciated since I am new to debugging on Linux , Windows it was much easier it seems with pdb files .When I try to build the source with debug mode