Analyzing ESP32 Core Dumps

Analyzing ESP32 Core Dumps

1. In my previous article, I wrote an introduction to the ESP32, and I think it is necessary to write this article, which mainly focuses on analyzing core dumps. This is similar to crash analysis in Android and Linux systems; it is interesting yet challenging. When we write code, we inevitably encounter some core dump … Read more

C Language Interview: Code Debugging and Error Handling

C Language Interview: Code Debugging and Error Handling

C Language Interview: Code Debugging and Error Handling In the software development process, debugging and error handling are crucial steps to ensure code quality. Especially in job interviews, examiners often assess candidates’ understanding of code debugging and error handling to evaluate their capabilities. This article will detail the basic debugging techniques and error handling methods … Read more

Debugging Techniques for C Language Code: Using GDB

Debugging Techniques for C Language Code: Using GDB

Debugging Techniques for C Language Code: Using GDB Debugging is an essential skill for any programmer, and in C language, the GNU Debugger (GDB) is one of the most commonly used debugging tools. This article will introduce you to how to effectively use GDB to debug C language programs. What is GDB? The GNU Debugger … Read more

Debugging Tools: Using gdb in C Language and Debugging Techniques

Debugging Tools: Using gdb in C Language and Debugging Techniques

Debugging Tools // Example code snippet for demonstration #include <stdio.h> int main() { printf("Hello, World!\n"); return 0; }</stdio.h> In this article, we will explore the usage of gdb in the C language and share some effective debugging techniques. Debugging is an essential part of the development process, allowing developers to identify and fix issues in … Read more

Debugging Tools: Using gdb for Breakpoint Debugging in C Language

Debugging Tools: Using gdb for Breakpoint Debugging in C Language

Debugging Tools: Using gdb for Breakpoint Debugging in C Language During the process of writing C programs, we often encounter various issues such as logical errors and runtime errors. To identify the root causes of these problems, debugging tools are essential. Among the many debugging tools available, the GNU Debugger (gdb) has become the preferred … Read more

Understanding the Simple Use of Makefile and gdb!

Understanding the Simple Use of Makefile and gdb!

Learning technology requires a deep inquiry and tracing back to the source. For readers learning Linux C++, Makefile and gdb are essential!1.Why use Makefile for compiling multiple .C files?(1) Generally, when we develop a project, we create a project structure with many directories, each containing multiple .C files, which necessitates combined compilation.(2) If we compile … Read more

Porting GDB 16.2 on RK3399

Porting GDB 16.2 on RK3399

👆 Click the blue text "Linux Armory" at the top, and select "Add to Favorites" in the upper right corner to not miss out on great articles and see valuable content first. 👆 FollowLinux Armory, to receive hardcore Linux learning materials and code. To quickly locate program issues, it is necessary to compile gdb16.2 on … Read more

C++ Debugging Techniques: Efficient Use of GDB and Breakpoints

C++ Debugging Techniques: Efficient Use of GDB and Breakpoints

# C++ Debugging Techniques: Efficient Use of GDB and Breakpoints Debugging is a crucial part of software development, and using tools to help us identify issues in our code can significantly enhance our development efficiency. For C++ developers, GDB (GNU Debugger) is a powerful debugging tool. This article will detail how to use GDB in … Read more

A Step-by-Step Guide to Debugging ARM Programs Using VSCode, gdb, and gdbserver

A Step-by-Step Guide to Debugging ARM Programs Using VSCode, gdb, and gdbserver

Click on the above “Embedded Miscellany” to select “Top Public Account” to view embedded notes at the first time! In embedded software development, the most commonly used debugging methods are: log printing debugging and online debugging. Related articles on log printing debugging: Can’t solve the bug? Use the logging method. When developing STM32, we have … Read more

Learning Makefile

Learning Makefile

GDB Debugging Tool Common commands for GDB debugging: gcc -g main.c -o main Common commands: help bt Show the call stack info locals Show local variables break main.c:10 Set a breakpoint at line 10 next Execute the next line list List source code continue Continue execution print Print variable value start Restart program execution delete … Read more