can anyone suggest a good program for debugging a C program? -
i need debug c program includes posix threads, socket programming (udp client, server). use ubuntu 12.04 , ide/sdk, qt creator 2.4.1 , netbeans ide 7.1.2. know use gdb debugging.
when start debug program, program stops running after 5 min or , neither qt creator or netbeans output error or warning, although use debugging feature , program suppose listen udp port.
i use printf line of code, , can see program works suppose , listen udp port , waits. can not figure problem out why stops without reason , since ides using not show debug error, warning, can not think reason.
i wonder if can suggest me debug program monitors all/some variables , threads during run time. thank you.
gdb
isn't comfortable available.
to runtime analysis of different types, checking memory access, valgrind
(see here docs) might tool of choice.
update: i'm referring *ix systems. windows gbd
works in cygwin
enviroment. nativly there vc express, free , includes ide , debugger.
Comments
Post a Comment