debug – POFTUT

What Is Segmentation Faults and Causes?

Segmentation faults are common run-time error for C programs. When we run the program we will get segmentation violation or segm4 entation fault or similar errors and the program exits. Segmentation faults generally observed inside weak or untested applications. Common Causes Of Segmentation Faults There may be a lot of different causes for Segmentation Faults but there … Read more

Debug Applications with gdb Command In Linux

Debug Applications with gdb Command In Linux

gdb is the short form of GNU Debugger. A debugger is a tool used to search and find and get detailed information about bugs in application binaries. gdb is popular in the Linux community which is used by most of the IDE, Programming tools event in Android IDE’s. In this tutorial, we will look at how to … Read more

Debugging Linux Bash Scripts

[rps-include post=6835] While writing bash scripts we generally expects some results and provide these results to other scripts. But things goes not well as we expect. So we need to see under the hood and what is happening while script is running. Debugging is inspecting bash scripts to see what is wrong with script or … Read more

How To Compile C and C++ Applications with GCC?

GCC is de facto compiler UNIX and LINUX Operating Systems. GCC is the acronym of the GNU Compiler Collection. As the name Collection suggest GCC supports C, C++, Java, Ada, Go, etc. In this post, we will look at how to compile C and C++ applications. Installing By default compiler, related tools are not installed. … Read more