Do I need to know the assembly for debugging programs written in C?

I study C with the "C programming language", 2nd edition, as well as each exercise.

Do I need to know the assembly to debug C programs that I wrote as solutions for book exercises?

Also, which debugger do you recommend?

+5
source share
8 answers

You do not need to know the build for a C program, including debugging. However, if you know the assembly, C starts to make a lot of sense; it really helps to have some assembly concepts (preferably some concepts on several different architectures such as x86 and ARM), and not just for debugging.

+5
source

, . MSV++, IDE, .

+2

, , C.

, , - , IDE, . Windows Microsoft Visual Studio ( ). Eclipse - , .

, gdb, , GUI- .

+2

, , , . , .

, . printf() .

+1

, asm , , , ... , , GDB, , , .

+1

, . ( -g GCC) (/Z MSVC).

( ), . , .

, . , , () , , . , , .

+1

No no. Microsoft Visual Studio has a good debugger. Other options are Code :: Blocks or Eclipse .

0
source

All Articles