Tagged articles

Debugging

1031 articles · Page 2 of 11
Xiao Liu Lab
Xiao Liu Lab
Dec 1, 2025 · Operations

Master WebSocket Debugging with websocat: Install, Test, and Proxy

This guide introduces websocat, a Rust‑based command‑line utility for WebSocket, covering installation via package managers or source, basic echo testing, setting up local servers, bidirectional TCP‑WebSocket proxying, secure connections, performance tuning, and integration with systemd and Nginx.

Command-lineDebuggingWebsocat
0 likes · 6 min read
Master WebSocket Debugging with websocat: Install, Test, and Proxy
Data Party THU
Data Party THU
Dec 1, 2025 · Backend Development

Simplify Python Logging with Loguru: From Boilerplate to Best Practices

This article explains why Python logging often feels cumbersome, demonstrates how Loguru provides a minimal‑configuration alternative with powerful features, offers a reusable wrapper for the standard logging module, and presents practical examples and best‑practice guidelines for effective logging in backend applications.

DebuggingLoggingLoguru
0 likes · 9 min read
Simplify Python Logging with Loguru: From Boilerplate to Best Practices
IT Services Circle
IT Services Circle
Nov 29, 2025 · Backend Development

Simplify Python Logging with Loguru: One‑Line Configuration

This article explains why traditional Python logging is cumbersome, demonstrates the verbose boilerplate required, and then shows how the Loguru library can replace it with a minimal, powerful setup that includes automatic exception handling, colored output, log rotation, async support, and structured logging for both web and script applications.

ConfigurationDebuggingLogging
0 likes · 9 min read
Simplify Python Logging with Loguru: One‑Line Configuration
Data STUDIO
Data STUDIO
Nov 26, 2025 · Fundamentals

Simplify Python Logging with Loguru: A One‑Line Solution to Debugging Hassles

The article explains why Python logging often feels cumbersome, demonstrates the verbose boilerplate of the standard logging module, and then shows how Loguru provides a minimal one‑line configuration, powerful features, and practical examples that turn logging into an efficient debugging tool.

DebuggingLoggingLoguru
0 likes · 9 min read
Simplify Python Logging with Loguru: A One‑Line Solution to Debugging Hassles
Code Wrench
Code Wrench
Nov 19, 2025 · Cloud Native

Unveiling Kubelet: How Kubernetes Brings Pods to Life with Go Concurrency

This article dissects the Kubelet component of Kubernetes, detailing its Go‑based architecture, core responsibilities, event‑driven syncLoop, PodWorkers concurrency model, syncPod creation flow, PLEG health monitoring, and provides practical debugging commands for production environments.

DebuggingGoKubernetes
0 likes · 14 min read
Unveiling Kubelet: How Kubernetes Brings Pods to Life with Go Concurrency
Linux Kernel Journey
Linux Kernel Journey
Nov 17, 2025 · Operations

Four Diagrams to Quickly Diagnose Linux Memory Leaks

This guide explains Linux's virtual‑physical memory model, shows how to inspect system and process memory via /proc files, demonstrates a 100 MiB allocation test, and provides a step‑by‑step workflow—including ps sorting and Valgrind usage—to locate and fix memory leaks.

Debugginglinuxmalloc
0 likes · 16 min read
Four Diagrams to Quickly Diagnose Linux Memory Leaks
IT Services Circle
IT Services Circle
Nov 15, 2025 · Fundamentals

How to Use GDB Watchpoints to Catch Memory Modifications in C/C++

This guide explains why memory bugs are hard to locate in C/C++ programs, introduces GDB watchpoints as a way to monitor specific memory addresses, and walks through a complete example—including source code, compilation, breakpoint setting, watchpoint creation, and interpreting the hardware watchpoint output—to pinpoint the exact line that modifies a variable.

Debugginghardware-watchpointmemory debugging
0 likes · 6 min read
How to Use GDB Watchpoints to Catch Memory Modifications in C/C++
Deepin Linux
Deepin Linux
Nov 15, 2025 · Backend Development

Mastering KGDB: A Step‑by‑Step Guide to Kernel Debugging on Multi‑Core Linux

This comprehensive guide walks Linux kernel developers through KGDB fundamentals, installation, configuration, and practical debugging techniques—including serial and network setups, kernel patching, boot‑parameter tuning, and common pitfalls—enabling precise source‑level debugging of multi‑core kernel issues.

DebuggingKGDBLinux kernel
0 likes · 30 min read
Mastering KGDB: A Step‑by‑Step Guide to Kernel Debugging on Multi‑Core Linux
Xiaolong Cloud Tech Team
Xiaolong Cloud Tech Team
Nov 14, 2025 · Frontend Development

Inside Chrome DevTools MCP: How It Works and Its Limits

This article dissects Chrome DevTools MCP (v0.9.0), detailing its tool categories, underlying Puppeteer implementation, and step‑by‑step workflows for navigation, input actions, emulation, performance tracing, network inspection, and debugging, while highlighting its shallow wrappers, reliance on Lighthouse, and current capability boundaries.

Chrome DevToolsDebuggingMCP
0 likes · 22 min read
Inside Chrome DevTools MCP: How It Works and Its Limits
Advanced AI Application Practice
Advanced AI Application Practice
Nov 9, 2025 · Fundamentals

How to Decode APIs, Logs, and Other Tech Jargon When Talking to Developers and Ops

The article explains why technical terms like API, JSON, and log can feel alien during developer‑ops conversations, and offers three practical strategies—building a personal glossary, asking smart questions, and using browser dev tools—to become an effective technical translator and improve bug‑reporting efficiency.

APIDebuggingGlossary
0 likes · 7 min read
How to Decode APIs, Logs, and Other Tech Jargon When Talking to Developers and Ops
Su San Talks Tech
Su San Talks Tech
Nov 8, 2025 · Backend Development

Why MyBatis‑Plus Replacement Failed: Debugging LocalDateTime Issues and Connector Upgrades

This article walks through replacing MyBatis with MyBatis‑Plus in a Java project, diagnosing a Conversion not supported for java.time.LocalDateTime error, uncovering its root cause in MyBatis and mysql‑connector‑java version mismatches, and sharing lessons from subsequent validation bugs and production incidents.

DebuggingMySQLORM
0 likes · 8 min read
Why MyBatis‑Plus Replacement Failed: Debugging LocalDateTime Issues and Connector Upgrades
php Courses
php Courses
Nov 5, 2025 · Backend Development

7 Laravel Packages That Supercharge Your Development Speed

This article introduces seven essential Laravel packages—IDE Helper, Debugbar, Spatie Permission, Nova/Filament, Excel, Telescope, and Sail—that automate repetitive tasks, improve debugging, and streamline environment setup, collectively boosting development efficiency by up to tenfold.

AutomationDebuggingPHP
0 likes · 9 min read
7 Laravel Packages That Supercharge Your Development Speed
Liangxu Linux
Liangxu Linux
Nov 4, 2025 · Fundamentals

How to Enable and Use Cortex‑M DWT CYCCNT for Precise Cycle Counting

This guide explains the DWT tracing component in Cortex‑M processors, details the CYCCNT register’s precision and limits, and provides step‑by‑step instructions with register definitions and multiple code examples for enabling, resetting, starting, stopping, and reading the cycle counter.

CYCCNTCortex-MDWT
0 likes · 7 min read
How to Enable and Use Cortex‑M DWT CYCCNT for Precise Cycle Counting
AI2ML AI to Machine Learning
AI2ML AI to Machine Learning
Nov 4, 2025 · Artificial Intelligence

Common Debugging Signals for Large Language Models

This article outlines the end‑to‑end workflow for large‑model training, highlights typical debugging challenges such as memory OOM, performance bottlenecks, and gradient issues, and provides concrete strategies, tools (DeepSpeed, Megatron, Torchtitan, veScale) and best‑practice checklists to help engineers diagnose and resolve problems efficiently.

DebuggingDeepSpeedLLM
0 likes · 12 min read
Common Debugging Signals for Large Language Models
Deepin Linux
Deepin Linux
Nov 1, 2025 · Fundamentals

Master Linux System Call Hooking: Theory, Security & Performance Tricks

This article explores Linux system call hooking by first reviewing syscall fundamentals, then detailing various Hook techniques—including function pointer replacement, LD_PRELOAD, and kernel modules—accompanied by C/C++ examples, and demonstrates practical applications in security monitoring, performance optimization, and debugging across real-world scenarios.

DebuggingSecuritySystem Call
0 likes · 29 min read
Master Linux System Call Hooking: Theory, Security & Performance Tricks
Programmer1970
Programmer1970
Oct 31, 2025 · Interview Experience

Are Standard Interview Questions a Trap? From Memorizing to Real-World Bugs

The article argues that while memorizing standard interview questions can help you pass screenings, it often leaves you unprepared for real production issues, and suggests turning rote knowledge into practical problem‑solving skills through scenario‑based practice and deeper understanding.

AOPDebuggingInterview
0 likes · 6 min read
Are Standard Interview Questions a Trap? From Memorizing to Real-World Bugs
Java Interview Crash Guide
Java Interview Crash Guide
Oct 23, 2025 · Fundamentals

30+ IntelliJ IDEA Debugging Tricks to Boost Your Productivity 10×

Mastering IntelliJ IDEA's powerful debugging shortcuts and features—such as execution point navigation, step controls, conditional breakpoints, exception simulation, multithread handling, variable modification, and remote debugging—can dramatically reduce bug‑fixing time and make development up to ten times more efficient.

DebuggingIDE TipsIntelliJ IDEA
0 likes · 13 min read
30+ IntelliJ IDEA Debugging Tricks to Boost Your Productivity 10×
Huawei Cloud Developer Alliance
Huawei Cloud Developer Alliance
Oct 20, 2025 · Fundamentals

Why Does a C++ Program Crash on free() Even When It Looks Correct?

Even when a C++ program appears to run correctly, writing beyond allocated memory can corrupt heap metadata, causing a delayed crash at free(); this article explains the underlying malloc/free mechanisms, demonstrates the issue with code examples, and offers debugging tools and defensive programming practices to prevent such errors.

C++Debuggingfree
0 likes · 9 min read
Why Does a C++ Program Crash on free() Even When It Looks Correct?
Data STUDIO
Data STUDIO
Oct 17, 2025 · Fundamentals

Python 3.14 (π) Released: Cool New Features You Should Try

Python 3.14, released on October 7 2025, brings a revamped REPL with real‑time syntax highlighting and smarter auto‑completion, new syntax such as t‑strings and optional parentheses in exception handling, lazy‑evaluated type annotations, sub‑interpreter parallelism, free‑threading, an experimental JIT, tail‑call interpreter support, and an incremental garbage collector, all of which improve developer ergonomics and performance.

DebuggingPerformancePython
0 likes · 44 min read
Python 3.14 (π) Released: Cool New Features You Should Try
Top Architect
Top Architect
Oct 5, 2025 · Backend Development

Master IDEA Debugging: From Basics to Advanced Techniques

This guide walks through IntelliJ IDEA's Debug feature, covering preparation, main interface, service and debug buttons, variable inspection, conditional breakpoints, expression evaluation, frame dropping, force return, multithread, Stream, and remote debugging, complete with code examples and screenshots.

DebuggingIDEAIntelliJ
0 likes · 18 min read
Master IDEA Debugging: From Basics to Advanced Techniques
MaGe Linux Operations
MaGe Linux Operations
Oct 3, 2025 · Operations

Why Your Crontab Jobs Fail: 5 Common Mistakes and How to Fix Them

This article explains why scheduled tasks often break in crontab, outlines the five most frequent errors such as missing environment variables, wrong paths, silent output, incorrect time expressions, and permission issues, and provides concrete debugging steps and best‑practice solutions for reliable Linux scheduling.

CronDebuggingOps
0 likes · 30 min read
Why Your Crontab Jobs Fail: 5 Common Mistakes and How to Fix Them
21CTO
21CTO
Oct 2, 2025 · Artificial Intelligence

Is AI Turning Developers into Code‑Dependent ‘Vibe Coders’? The Hidden Risks

The article warns that while AI coding tools boost short‑term productivity, they are eroding developers' core coding skills, increasing debugging time, introducing security vulnerabilities, and creating a feedback loop that degrades software quality and team knowledge.

AICodingDebugging
0 likes · 15 min read
Is AI Turning Developers into Code‑Dependent ‘Vibe Coders’? The Hidden Risks
Architecture Digest
Architecture Digest
Sep 30, 2025 · Backend Development

Why Does FastJSON Call isChinaName() During Serialization? Deep Dive & Fix

This article investigates a NullPointerException caused by FastJSON invoking the isChinaName() method during serialization, explains the underlying JavaBeanSerializer mechanisms, demonstrates debugging steps with code examples, and provides best‑practice guidelines using @JSONField annotations to control serialization behavior.

DebuggingFastjsonJSONField
0 likes · 7 min read
Why Does FastJSON Call isChinaName() During Serialization? Deep Dive & Fix
Liangxu Linux
Liangxu Linux
Sep 28, 2025 · Fundamentals

Why Memory Leaks Hurt Your Programs and How to Detect Them

This article explains what memory leaks are, distinguishes different leak types such as space leaks and fragmentation, shows how unreferenced allocations cause hidden waste, and introduces common detection tools like Valgrind, AddressSanitizer, and tcmalloc Heap Profiler.

C programmingDebuggingPerformance
0 likes · 7 min read
Why Memory Leaks Hurt Your Programs and How to Detect Them
BirdNest Tech Talk
BirdNest Tech Talk
Sep 28, 2025 · Artificial Intelligence

Mastering LangChain Callbacks: Track LLM Execution Step‑by‑Step

LangChain’s callback system lets developers hook into every stage of an LLM chain— from chain start/end to token generation—using built‑in handlers like StdOutCallbackHandler or custom handlers derived from BaseCallbackHandler, with examples showing constructor‑level and request‑level attachment, plus a custom handler implementation.

AIDebuggingLLM
0 likes · 6 min read
Mastering LangChain Callbacks: Track LLM Execution Step‑by‑Step
php Courses
php Courses
Sep 26, 2025 · Backend Development

Why Swoole Coroutine Leaks Hide and How to Prevent Them

Swoole coroutine leaks are stealthy issues that gradually consume CPU and memory, caused by improper loops, global state pollution, inconsistent environments, and limited debugging tools, but can be mitigated with proper context management, lifecycle control, environment consistency, and proactive monitoring.

DebuggingPHPPerformance
0 likes · 12 min read
Why Swoole Coroutine Leaks Hide and How to Prevent Them
php Courses
php Courses
Sep 24, 2025 · Fundamentals

Master C++ Debugging: GDB and Valgrind from Basics to Advanced

This article provides a comprehensive guide to C++ debugging, covering the installation, core commands, and practical examples of GDB and Valgrind, along with advanced techniques, common pitfalls, and best‑practice recommendations to help developers efficiently locate and fix memory and segmentation errors.

C++Debugginggdb
0 likes · 9 min read
Master C++ Debugging: GDB and Valgrind from Basics to Advanced
Deepin Linux
Deepin Linux
Sep 24, 2025 · Fundamentals

Mastering GDB: Essential Techniques for Memory Debugging and Analysis

This comprehensive guide explores GDB as a powerful debugging tool for memory analysis, covering installation, startup methods, core commands, breakpoint strategies, memory inspection, stack tracing, advanced features, remote debugging, and best practices for production environments, complete with practical code examples and step‑by‑step instructions.

C++DebuggingMemory Analysis
0 likes · 55 min read
Mastering GDB: Essential Techniques for Memory Debugging and Analysis
Liangxu Linux
Liangxu Linux
Sep 23, 2025 · Fundamentals

15 Hidden C Language Traps Every Developer Must Avoid

Discover the 15 most common C programming pitfalls—from operator precedence and case sensitivity to pointer misuse and multithreading errors—each illustrated with code examples and practical solutions to help you write safer, more reliable C code.

C++Common pitfallsDebugging
0 likes · 13 min read
15 Hidden C Language Traps Every Developer Must Avoid
php Courses
php Courses
Sep 3, 2025 · Backend Development

How to Fix WordPress White Screen of Death by Raising PHP Memory Limit

This guide explains why insufficient PHP memory triggers the WordPress White Screen of Death and provides three step‑by‑step methods—editing wp‑config.php, php.ini, or .user.ini—to increase the memory limit and restore site functionality.

DebuggingPHPServer configuration
0 likes · 7 min read
How to Fix WordPress White Screen of Death by Raising PHP Memory Limit
Linux Tech Enthusiast
Linux Tech Enthusiast
Sep 3, 2025 · Backend Development

How to Diagnose and Fix 502 Bad Gateway Errors in Nginx

This article explains what a 502 Bad Gateway response means, how Nginx as a reverse‑proxy generates it, common root causes such as upstream timeouts or crashes, and step‑by‑step methods to locate the problem using logs, monitoring data and configuration checks.

502DebuggingHTTP status code
0 likes · 15 min read
How to Diagnose and Fix 502 Bad Gateway Errors in Nginx
Efficient Ops
Efficient Ops
Sep 2, 2025 · Operations

Essential Linux & Java Debugging Tools Every Engineer Should Know

This guide compiles a comprehensive set of Linux commands and Java diagnostic utilities—including tail, grep, awk, find, tsar, btrace, Greys, jps, jstack, jmap, and more—providing practical examples and code snippets to help engineers quickly troubleshoot and monitor system and JVM issues.

DebuggingPerformancelinux
0 likes · 17 min read
Essential Linux & Java Debugging Tools Every Engineer Should Know
Python Programming Learning Circle
Python Programming Learning Circle
Aug 30, 2025 · Fundamentals

32 Essential Python Tricks Every Developer Should Know

This article presents 32 practical Python tips ranging from one‑line variable swapping and chained comparisons to debugging with pdb, memory optimization with __slots__, and implementing switch‑case logic, providing concise code examples that boost productivity and code readability.

Debuggingcode snippetsfundamentals
0 likes · 18 min read
32 Essential Python Tricks Every Developer Should Know
21CTO
21CTO
Aug 28, 2025 · Artificial Intelligence

How the Visual Studio August Update Supercharges AI‑Powered Development

Microsoft’s August 2022 Visual Studio update introduces AI‑driven enhancements such as GPT‑5 integration, expanded Copilot Chat capabilities, full Git history context, and unified blueprint‑native debugging, alongside new shortcuts and UI tweaks that streamline and smarten everyday development workflows.

AI developmentCopilotDebugging
0 likes · 3 min read
How the Visual Studio August Update Supercharges AI‑Powered Development
Liangxu Linux
Liangxu Linux
Aug 21, 2025 · Operations

Trace the Source of a SIGKILL by Adding a Kernel Logging Patch

When a Linux process is terminated by SIGKILL, the sender cannot be identified directly, but by adding a small patch to kernel/signal.c that logs the killer's PID and command name, you can trace the source of the kill, compile and flash the kernel to verify the change.

DebuggingSignalprocess
0 likes · 3 min read
Trace the Source of a SIGKILL by Adding a Kernel Logging Patch
Deepin Linux
Deepin Linux
Aug 21, 2025 · Fundamentals

Master Debugging Stripped Executables with GDB: A Step‑by‑Step Guide

This comprehensive guide explains why debugging stripped binaries is crucial, walks through installing GDB, shows how to disassemble code, set address‑based breakpoints, inspect memory, handle signals, use advanced features like backtraces, conditional breakpoints, watchpoints, remote debugging, and even basic heap analysis for C/C++ programs.

C programmingDebuggingReverse Engineering
0 likes · 40 min read
Master Debugging Stripped Executables with GDB: A Step‑by‑Step Guide
Huolala Tech
Huolala Tech
Aug 13, 2025 · Backend Development

Why Do Inherited ThreadLocals Cause Task Failures in XXL‑Job?

An in‑depth analysis reveals that stale parameters stored in InheritableThreadLocal objects during thread‑pool reuse cause XXL‑Job tasks to process incorrect data, and provides debugging steps and best‑practice recommendations to prevent context pollution.

Context propagationDebuggingInheritableThreadLocal
0 likes · 10 min read
Why Do Inherited ThreadLocals Cause Task Failures in XXL‑Job?
Ops Development & AI Practice
Ops Development & AI Practice
Aug 7, 2025 · Blockchain

Master Hardhat Console: Debug Smart Contracts Instantly

Learn how to streamline Ethereum smart contract debugging by using Hardhat’s interactive console, covering setup, querying chain state, interacting with deployed contracts, reading and writing functions, and advanced features like manual mining, all with practical code examples to boost development efficiency.

DebuggingEthereumHardhat
0 likes · 7 min read
Master Hardhat Console: Debug Smart Contracts Instantly
Alibaba Cloud Big Data AI Platform
Alibaba Cloud Big Data AI Platform
Aug 5, 2025 · Fundamentals

Unlock the Secrets of Kernel Module Makefiles: 3 Debugging Tricks Revealed

This article walks readers through the inner workings of Linux kernel module Makefiles, demonstrating how to clone example projects, interpret build logs, and apply three powerful debugging techniques—including recursive vs. non‑recursive make, detailed variable tracing, and on‑the‑fly warnings—to demystify the compilation process.

Build SystemDebuggingMakefile
0 likes · 38 min read
Unlock the Secrets of Kernel Module Makefiles: 3 Debugging Tricks Revealed
Architecture and Beyond
Architecture and Beyond
Aug 2, 2025 · Fundamentals

Master First‑Principles Thinking to Solve Complex Tech Problems

This article explains the concept of first‑principles thinking, why it matters for engineers, common mental traps, real‑world case studies, and practical steps to cultivate a zero‑based problem‑solving mindset for better architecture and performance decisions.

Debuggingfirst principlesproblem solving
0 likes · 15 min read
Master First‑Principles Thinking to Solve Complex Tech Problems
Code Mala Tang
Code Mala Tang
Jul 20, 2025 · Fundamentals

Master Python locals() and globals(): Dynamic Variable Tricks Explained

This article explores how Python's locals() and globals() functions reveal variable scopes, demonstrates why locals() cannot modify local variables, shows how globals() can dynamically alter global state, and combines them with exec() for powerful runtime variable creation and updates.

DebuggingPythondynamic-variables
0 likes · 6 min read
Master Python locals() and globals(): Dynamic Variable Tricks Explained
macrozheng
macrozheng
Jul 16, 2025 · Backend Development

Debugging NPEs in Spring Boot: Real‑World Case Study and Fixes

A junior Java developer encounters a NullPointerException while integrating third‑party data into a Spring Boot backend, and the article walks through reproducing the bug, analyzing each faulty line, and presenting defensive‑programming, ternary, Optional, and utility‑class solutions plus a SonarLint recommendation.

DebuggingNPEOptional
0 likes · 6 min read
Debugging NPEs in Spring Boot: Real‑World Case Study and Fixes
Test Development Learning Exchange
Test Development Learning Exchange
Jul 15, 2025 · Backend Development

Master Loguru: Simplify Python Logging with Powerful Features

This guide introduces Loguru, a modern Python logging library that replaces the standard logging module with a concise API, automatic coloring, thread‑safe operation, file rotation, JSON output, and extensive configuration options, providing clear examples, advanced settings, testing integration, and best‑practice project structures.

DebuggingLoggingLoguru
0 likes · 7 min read
Master Loguru: Simplify Python Logging with Powerful Features
JavaScript
JavaScript
Jul 8, 2025 · Frontend Development

Why Overusing !important Breaks Your CSS and How to Fix It

This article explains how excessive use of the CSS !important declaration leads to maintainability and debugging problems, details the CSS specificity calculation, compares specificity rules, and provides practical techniques—including ID selectors, selector chaining, attribute selectors, repeated selectors, pseudo‑classes, and BEM methodology—to increase specificity responsibly.

BEMCSSDebugging
0 likes · 8 min read
Why Overusing !important Breaks Your CSS and How to Fix It
Go Programming World
Go Programming World
Jul 7, 2025 · Artificial Intelligence

Why My AI Agent Stops Responding When Multiple MCP Tools Are Selected – Debugging the Root Cause

This article documents a step‑by‑step investigation of an AI Agent that fails to return results when it selects multiple MCP services, detailing log analysis, network packet capture, MCP protocol behavior, the discovery of tool‑name conflicts, and both temporary and permanent remediation strategies.

AI AgentDebuggingKubernetes
0 likes · 20 min read
Why My AI Agent Stops Responding When Multiple MCP Tools Are Selected – Debugging the Root Cause
Deepin Linux
Deepin Linux
Jul 5, 2025 · Fundamentals

Master GDB: Essential Debugging Techniques for C/C++ Developers

This comprehensive guide explains what GDB is, how to launch it, its core functions, essential debugging commands, multithreaded debugging strategies, and practical code examples, helping developers efficiently locate and fix bugs in C/C++ programs.

C++Debugginggdb
0 likes · 21 min read
Master GDB: Essential Debugging Techniques for C/C++ Developers
Deepin Linux
Deepin Linux
Jul 2, 2025 · Fundamentals

Master GDB: Essential Debugging Techniques for C/C++ Developers

This comprehensive guide introduces GDB, the powerful GNU Debugger, covering its overview, installation, basic commands, advanced features like backtracing, memory analysis, conditional breakpoints, remote debugging, and practical tips such as TUI mode, custom scripts, and IDE integration to help developers efficiently locate and fix bugs.

C programmingCommand LineDebugging
0 likes · 27 min read
Master GDB: Essential Debugging Techniques for C/C++ Developers
Deepin Linux
Deepin Linux
Jul 2, 2025 · Backend Development

How to Detect and Fix C++ Deadlocks on Linux Using Shell and GDB

This guide explains why deadlocks occur in Linux C++ multithreaded programs, demonstrates how to reproduce them with sample code, and shows step‑by‑step how to use shell commands and GDB to identify and resolve the deadlock, ensuring stable and efficient execution.

C++DeadlockDebugging
0 likes · 18 min read
How to Detect and Fix C++ Deadlocks on Linux Using Shell and GDB
High Availability Architecture
High Availability Architecture
Jun 25, 2025 · Backend Development

How to Build a Java Method Call Stack Tracker for Faster Debugging

This article explains how to address common on‑call debugging pain points by analyzing error screenshots, extracting key information, and developing a lightweight Java tool that leverages StackTraceElement to generate a clear, filtered method‑call chain, dramatically speeding up code‑origin identification and issue resolution.

DebuggingJavaMethod Call Chain
0 likes · 12 min read
How to Build a Java Method Call Stack Tracker for Faster Debugging
JD Tech
JD Tech
Jun 18, 2025 · Backend Development

How to Instantly Spot Problematic SQL with a MyBatis Coloring Interceptor

This article explains how to implement a lightweight MyBatis interceptor that annotates SQL statements with their mapper ID and execution stack, enabling developers to quickly locate performance bottlenecks during high‑traffic events, and also shows an AspectJ alternative for non‑MyBatis projects.

DebuggingInterceptorJava
0 likes · 30 min read
How to Instantly Spot Problematic SQL with a MyBatis Coloring Interceptor
Tencent Cloud Developer
Tencent Cloud Developer
Jun 17, 2025 · Backend Development

Why Middleware Client APIs Crash: Real‑World Tcaplus and Pulsar Debugging Stories

This article explains the complexity of middleware client APIs, shares two real external‑network failures— a Tcaplus callback coredump and a Pulsar Go deadlock— analyzes their root causes, and outlines practical design guidelines to build clear, asynchronous, fault‑tolerant, and maintainable backend APIs.

AsynchronousDebuggingDesign
0 likes · 13 min read
Why Middleware Client APIs Crash: Real‑World Tcaplus and Pulsar Debugging Stories
Java Backend Technology
Java Backend Technology
Jun 12, 2025 · Backend Development

Why Debugging a Simple ConcurrentLinkedQueue Can Crash Your Java Program

A seemingly trivial Java program that uses ConcurrentLinkedQueue runs fine normally, but throws a NullPointerException when debugged in IntelliJ IDEA because the IDE silently invokes toString, which mutates internal state, revealing hidden pitfalls of debugging and IDE configurations.

ConcurrentLinkedQueueDebuggingIntelliJ IDEA
0 likes · 10 min read
Why Debugging a Simple ConcurrentLinkedQueue Can Crash Your Java Program
Liangxu Linux
Liangxu Linux
Jun 7, 2025 · Fundamentals

Unlock the Hidden Power of C Macros: From Basics to Advanced Tricks

This article explains C preprocessor macros in depth, covering simple constant replacement, parameterized macros, stringification, token‑pasting, predefined macros, variadic macros, conditional compilation tricks, common pitfalls, and best‑practice recommendations for safe usage.

C++DebuggingMacros
0 likes · 11 min read
Unlock the Hidden Power of C Macros: From Basics to Advanced Tricks
Subtle Storm
Subtle Storm
Jun 6, 2025 · Frontend Development

Step-by-Step Guide to Building a Chrome Extension

This guide walks through building a Chrome extension from scratch, covering manifest configuration, UI pages, content and background scripts, required permissions, development tools, debugging techniques, packaging, publishing to the Chrome Web Store, and common feature implementations such as page interaction, messaging, and request interception.

Chrome ExtensionChrome Web StoreContent Script
0 likes · 7 min read
Step-by-Step Guide to Building a Chrome Extension
Lin is Dream
Lin is Dream
Jun 5, 2025 · Fundamentals

Master IntelliJ IDEA Debugging: Advanced Tips Every Java Developer Needs

Learn how to leverage IntelliJ IDEA's powerful debugging features—including step commands, conditional breakpoints, thread inspection, and expression evaluation—plus troubleshoot common startup errors and automatically generate serialVersionUID, providing essential techniques for Java developers to debug efficiently and resolve IDE issues.

DebuggingIDEIntelliJ IDEA
0 likes · 7 min read
Master IntelliJ IDEA Debugging: Advanced Tips Every Java Developer Needs
Liangxu Linux
Liangxu Linux
May 31, 2025 · Fundamentals

How to Output Debug Logs in Embedded Systems Without a UART

This article explains several practical techniques for printing debug logs in embedded development—using SRAM buffers, SWO trace, UART with DMA, and GPIO‑bit‑banging—detailing their implementation, advantages, limitations, and code examples for reliable diagnostics on chips lacking conventional serial interfaces.

DMADebuggingSWO
0 likes · 11 min read
How to Output Debug Logs in Embedded Systems Without a UART
Architect
Architect
May 29, 2025 · Artificial Intelligence

Understanding Model Context Protocol (MCP): Architecture, Development Pitfalls, and AI Reflections

This article introduces the Model Context Protocol (MCP) as an open AI‑model integration standard, explains its client‑server architecture and components, shares practical Node/Python development pitfalls and debugging tips, discusses hallucination and error‑retry strategies, lists useful tools, and reflects on the broader implications of AI‑driven conversational services.

AI ServicesAI integrationDebugging
0 likes · 14 min read
Understanding Model Context Protocol (MCP): Architecture, Development Pitfalls, and AI Reflections
Java Captain
Java Captain
May 23, 2025 · Backend Development

Resolving Spring Boot Resource Loading Errors When Running from a JAR

This article explains why a Spring Boot application fails to locate a template file when packaged as a JAR, details the step‑by‑step debugging process, and provides code solutions using ClassPathResource or PathMatchingResourcePatternResolver to correctly read resources inside the JAR.

DebuggingJavaSpring Boot
0 likes · 5 min read
Resolving Spring Boot Resource Loading Errors When Running from a JAR
Huolala Tech
Huolala Tech
May 23, 2025 · Backend Development

Why Adding a New JAR Causes StackOverflowError? Uncovering Spring Bean Recursion

This article walks through a real‑world case where adding a new JAR triggers a java.lang.StackOverflowError during Spring application startup, explains how hidden recursive calls in bean initialization cause the overflow, and offers debugging steps and a design‑level fix to prevent the issue.

Bean LifecycleDebuggingStackOverflowError
0 likes · 29 min read
Why Adding a New JAR Causes StackOverflowError? Uncovering Spring Bean Recursion
FunTester
FunTester
May 23, 2025 · Operations

Mastering JVM Thread Dumps: From Diagnosis to Kubernetes Automation

This article explains what JVM thread dumps are, why they are crucial for fault testing, outlines common scenarios such as deadlocks and resource leaks, and provides step‑by‑step methods—including jstack, kill‑3, VisualVM, programmatic APIs, and Fabric8‑driven Kubernetes automation—to capture and analyze them effectively.

DebuggingFabric8JVM
0 likes · 15 min read
Mastering JVM Thread Dumps: From Diagnosis to Kubernetes Automation
Code Mala Tang
Code Mala Tang
May 22, 2025 · Fundamentals

9 Essential Python Debugging Techniques Every Developer Should Master

This guide presents nine practical Python debugging methods—including try‑except blocks, print statements, the pdb debugger, assertions, stack trace analysis, linting tools, IDE breakpoints, logging, and unit testing—to help developers quickly identify and resolve errors in their code.

DebuggingLoggingPython
0 likes · 4 min read
9 Essential Python Debugging Techniques Every Developer Should Master
JD Tech
JD Tech
May 21, 2025 · Backend Development

How to Build a Java Method Call Stack Tracker for Faster Debugging

This article examines the common pain points of on‑call debugging, explains how to extract useful information from error screenshots, and presents a Java‑based method call stack tracing tool that filters and visualizes stack frames to quickly locate code origins and improve troubleshooting efficiency.

DebuggingJavaMethodTracing
0 likes · 12 min read
How to Build a Java Method Call Stack Tracker for Faster Debugging
DevOps
DevOps
May 21, 2025 · Artificial Intelligence

Understanding Model Context Protocol (MCP): Architecture, Development Pitfalls, and AI Reflections

This article introduces the Model Context Protocol (MCP) as an open standard for connecting large language models to external data and tools, explains its client‑server architecture, shares practical Node/TypeScript development pitfalls and debugging tips, and reflects on broader AI dialogue versus service integration scenarios.

AIDebuggingMCP
0 likes · 11 min read
Understanding Model Context Protocol (MCP): Architecture, Development Pitfalls, and AI Reflections
Tencent Cloud Developer
Tencent Cloud Developer
May 20, 2025 · Artificial Intelligence

Understanding Model Context Protocol (MCP): Architecture, Development Pitfalls, and AI Reflections

This article introduces the Model Context Protocol (MCP), explains its client‑server architecture, shares practical development experiences and debugging tips for Node.js and Python implementations, discusses common pitfalls such as environment setup, hallucinations, and error handling, and reflects on the broader implications of AI‑driven services.

AI integrationDebuggingMCP
0 likes · 13 min read
Understanding Model Context Protocol (MCP): Architecture, Development Pitfalls, and AI Reflections
Java Captain
Java Captain
May 14, 2025 · Fundamentals

Creation and Stopping of Debug Sessions in IntelliJ

The article explains how IntelliJ creates a debug session via XDebuggerManager.startSessionAndShowTab, the role of XDebugSession and XDebugProcess, and details the sequence of events and listeners involved when the session is stopped, including process termination and listener cleanup.

DebuggingIDEIntelliJ
0 likes · 6 min read
Creation and Stopping of Debug Sessions in IntelliJ
Liangxu Linux
Liangxu Linux
May 7, 2025 · Fundamentals

Why Embedded Development Feels Hard and How to Fix Common Bugs

This article explains why many consider embedded development difficult, then walks through systematic steps for reproducing, locating, analyzing, and resolving typical embedded bugs—including logging, online debugging, version rollback, binary commenting, register snapshots, and regression testing—to help engineers troubleshoot effectively.

Cortex-MDebuggingFirmware
0 likes · 12 min read
Why Embedded Development Feels Hard and How to Fix Common Bugs
Java Tech Enthusiast
Java Tech Enthusiast
May 7, 2025 · Backend Development

Why Redis Increment Returns Null When Using @Transactional with Transaction Support in Spring Boot

The production failure where a customer‑service event creation stopped each morning was traced to RedisTemplate’s increment returning null because @Transactional combined with enabled Redis transaction support caused the command to be queued in a MULTI/EXEC block, which is fixed by using separate non‑transactional and transactional StringRedisTemplate beans.

DebuggingJavaRedis
0 likes · 11 min read
Why Redis Increment Returns Null When Using @Transactional with Transaction Support in Spring Boot
JD Tech Talk
JD Tech Talk
May 6, 2025 · Backend Development

Building a Java Method Call‑Stack Tracing Tool to Accelerate Issue Diagnosis

This article describes the pain points of daily on‑call debugging, explains how Java StackTraceElement can be leveraged to construct a chain‑style call‑stack visualizer, details the implementation of a lightweight tracing utility with configurable filters, and demonstrates its integration and practical usage in production environments.

DebuggingJavaPerformance
0 likes · 14 min read
Building a Java Method Call‑Stack Tracing Tool to Accelerate Issue Diagnosis
JD Cloud Developers
JD Cloud Developers
May 6, 2025 · Backend Development

How to Instantly Trace Java Method Call Stacks for Faster Debugging

This article explains how to build and use a Java StackTrace utility that extracts and filters method call chains, enabling developers to quickly locate error sources, streamline debugging, and improve operational efficiency by visualizing execution paths through customizable parameters and integration examples.

DebuggingJavaPerformance Monitoring
0 likes · 17 min read
How to Instantly Trace Java Method Call Stacks for Faster Debugging
Rare Earth Juejin Tech Community
Rare Earth Juejin Tech Community
May 4, 2025 · Frontend Development

A Front‑End Developer’s Guide to Integrating WeChat QR‑Code Login

This step‑by‑step tutorial walks front‑end developers through the entire process of integrating WeChat QR‑code login, covering prerequisite checklist, platform setup, core JavaScript SDK usage, callback handling, common pitfalls, security hardening, performance tweaks, debugging tricks, and a learning roadmap.

DebuggingFront-endOAuth
0 likes · 10 min read
A Front‑End Developer’s Guide to Integrating WeChat QR‑Code Login
macrozheng
macrozheng
Apr 19, 2025 · Backend Development

What’s New in IntelliJ IDEA 2025.1? AI Boosts, Java 24 Support & More

IntelliJ IDEA 2025.1 introduces comprehensive Java 24 support, makes Kotlin K2 the default mode, delivers a major AI assistant upgrade with free unlimited code completion, and adds numerous productivity enhancements such as improved debugging, UI redesign, containerfile support, and tighter Gradle integration.

AI assistantDebuggingIntelliJ IDEA
0 likes · 7 min read
What’s New in IntelliJ IDEA 2025.1? AI Boosts, Java 24 Support & More