Not debugging properly in C (Eclipse Mars) -


i'm beginner c language , eclipse ide. i've downloaded , installed eclipse ide c/c++ developers i.e. mars 2.0. i've created new project , selected appropriate compiler , typed following code:

#include <stdio.h> int main() {   printf("hello, world! \n");   return 0; } 

after, when click build project creates .exe file me , when click on debug debugs shutdowns automatically within fraction of second.

from you've told us, correct. if want step through code, have set breakpoint. should able double-click in margin on "printf" line set breakpoint there.


Comments

Popular posts from this blog

wordpress - (T_ENDFOREACH) php error -

Export Excel workseet into txt file using vba - (text and numbers with formulas) -

Using django-mptt to get only the categories that have items -