I use window operating system. I am looking debugger to debug c program. Which debugger will you recommend for debugging
Is visual Studio a best choice?
I use window operating system. I am looking debugger to debug c program. Which debugger will you recommend for debugging
Is visual Studio a best choice?
I am using gcc through MinGW64 on windows
can i set break point using gdb
can i step through in code?
Yes, and Yes.
There are many online tutorials for using gdb. The Official gdb manual is also online here.
The answers to these two questions, and many others you will have, are found in these documents.
I don't want to debug in terminal. Is it possible to debug in IDE
You should learn to use the compiler and the debugger on the command line. IDE's are not some magic software that answers all your problems.
Having said that, there are GUI front ends for GDB. KDbg is one that I have used in the past, although it is no longer available for Debian.
> I don't want to debug in terminal. Is it possible to debug in IDE
Yeah, CodeBlocks does a pretty reasonable job of driving the basics of gdb using the GUI.
But what you can do in the GUI is only the tip of the iceberg compared to what you can do from the command line.
If you dance barefoot on the broken glass of undefined behaviour, you've got to expect the occasional cut.
If at first you don't succeed, try writing your phone number on the exam paper.
@salem
Personally which complier and Ide do you use to debug C program?
On Linux, I use code::blocks and GCC
On Windows I use VS
If you dance barefoot on the broken glass of undefined behaviour, you've got to expect the occasional cut.
If at first you don't succeed, try writing your phone number on the exam paper.
@salem
Which Linux distribution do you use?