Debugging tool under Linux-GDB

GDB 1.What is GDB GDB is a debugging tool provided by the GNU software system community. Together with GCC, it forms a complete development environment. GDB is the standard development environment for Linux and many Unix-like systems. Generally speaking, GDB can mainly provide help in the following four aspects: Start the program and run it […]

PostgreSQL 14.3 source code installation and debugging

Summary: Introducing PostgreSQL 14.3 source code installation, postgresql usage and vscode source code debugging. 1. Environment preparation 1.1 System parameter modification systemctl status firewalld.service #View fire protection status systemctl stop firewalld.service #Temporarily close the firewall systemctl disable firewalld.service #Permanently close the firewall setenforce 0 #Temporarily close selinux firewall, setenforce is the selinux firewall configuration command […]

19. W5100S/W5500+RP2040 Raspberry Pi Pico<MQTT and MQTTX debugging example>

1. Preface With the rapid development of IoT technology, the MQTT (Message Queuing Telemetry Transport) protocol has become a widely used communication protocol. It is suitable for low-bandwidth, high-latency, and unreliable network communication between devices. W5500 is an embedded Ethernet controller that integrates a full hardware TCP/IP protocol stack and is also an industrial-grade Ethernet […]

Vue project code prevents debugging – open the console and jump directly to a blank page

Vue project code prevents debugging – open the console and jump directly to a blank page After the front-end code is online, the code will be exposed, or the interface will be exposed, and interested people will study the code logic and find project bugs and loopholes! Project background I was targeted by the security […]

Initial C Language (8) – Debugging Tips

Since we want to learn debugging skills, we first need to know what to debug? what’s the effect? Is debugging important? Let’s look down with questions 1. What is a bug? A bug is a programming error discovered before an application is put into production or during use, causing the program to work poorly, produce […]

vscode debugging code, efficiency increased by 20%

Preface Whether at work or debugging source code, debugging is essential. Finding the correct debugging method can improve our work efficiency by at least 20%, so that we can make more 20% of the time is spent fishing, fishing makes me happy (^▽^) From now on, let us abandon the console.log old shabby car and […]

GDB debugging call executable

GDB debugging call executable file Article directory GDB debugging call executable Check whether coredump function is enabled Find core_pattern first coredump is automatically processed by the apport.service service program in the ubuntu system Analysis of common causes of coredump Use GDB and several commonly used GDB commands The reason is that when running an executable […]

[Debugging Technology] View PEB and TEB in user mode

Overview: View processes PEB and TEB in user mode (exe attached or started for debugging through windbg) 0x01 View TEB and PEB in user mode During dual-machine debugging, you can directly use !PEB PID and !TEB TID to obtain relevant information about processes and threads. These two commands will be invalid in user mode. The […]