Tagged articles

debugging

1010 articles · Page 2 of 11
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.

Backend DevelopmentLaravelPHP
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.

DeepSpeedLLMMegatron
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.

HookLinuxSystem Call
0 likes · 29 min read
Master Linux System Call Hooking: Theory, Security & Performance Tricks
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.

IDE TipsIntelliJ IDEAJava
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++Freedebugging
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.

ConcurrencyPerformancePython
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.

IDEAIntelliJJava
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.

LinuxOpsScheduling
0 likes · 30 min read
Why Your Crontab Jobs Fail: 5 Common Mistakes and How to Fix Them
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.

FastJSONJSONFieldJava serialization
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 ProgrammingPerformancedebugging
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.

AICallbacksLLM
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.

Context managementPHPPerformance
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++Linuxdebugging
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.

Best PracticesC++common pitfalls
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.

PHPServer ConfigurationWSOD
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.

502HTTP status codeNginx
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.

LinuxOperationsPerformance
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.

Fundamentalscode snippetsdebugging
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.

CopilotGPT-5Visual Studio
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.

debuggingprocesssigkill
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 Programmingcore dumpdebugging
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 propagationInheritableThreadLocalJava
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.

EthereumHardhatconsole
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.

Software engineeringdebuggingfirst principles
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.

Pythondebuggingdynamic-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.

Defensive ProgrammingNPEOptional
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.

LoggingLoguruPerformance
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.

BEMBest PracticesFrontend
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 AgentKubernetesMCP
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++LinuxMultithreading
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 ProgrammingRemote Debuggingcommand-line
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++DeadlockLinux
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.

JavaMethod Call Chaindebugging
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.

JavaMyBatisPerformance
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.

MiddlewareNetworkasynchronous
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.

ConcurrencyConcurrentLinkedQueueIntelliJ 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++MacrosMetaprogramming
0 likes · 11 min read
Unlock the Hidden Power of C Macros: From Basics to Advanced Tricks
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.

IDEIntelliJ IDEAJava
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.

DMASWOUART
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 integrationAI servicesMCP
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.

JarJavaSpring 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 LifecycleStackOverflowErrordebugging
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.

Fabric8JVMJava
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.

Error handlingLoggingPython
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.

JavaMethodTracingStackTrace
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.

AIMCPNode.js
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 integrationMCPModel Context Protocol
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.

IDEIntelliJJava
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-MFirmwareTroubleshooting
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.

@TransactionalJavaRedis
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.

JavaPerformanceStackTrace
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.

Backend DevelopmentJavaStackTrace
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.

Front-endOAuthPerformance
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 assistantIntelliJ IDEAJava 24
0 likes · 7 min read
What’s New in IntelliJ IDEA 2025.1? AI Boosts, Java 24 Support & More
DevOps Operations Practice
DevOps Operations Practice
Apr 11, 2025 · Operations

Promtool: A Complete Guide to Configuration Validation, Rule Checking, TSDB Management, and Debugging for Prometheus

This article introduces Promtool, the multifunctional command‑line utility bundled with Prometheus, and explains how to validate configurations, check and test rules, query metrics, manage the TSDB, run unit tests, use debugging helpers, install the tool, and apply best‑practice recommendations.

Configuration ValidationPrometheusPromtool
0 likes · 5 min read
Promtool: A Complete Guide to Configuration Validation, Rule Checking, TSDB Management, and Debugging for Prometheus
Top Architect
Top Architect
Apr 6, 2025 · Backend Development

Comprehensive Guide to Using IntelliJ IDEA Debug Features

This tutorial provides a thorough walkthrough of IntelliJ IDEA's Debug functionality, covering preparation, main interface, detailed explanations of service and debug buttons, variable inspection and modification, conditional breakpoints, expression evaluation, frame dropping, force return, multithreaded and Stream debugging, as well as remote debugging techniques.

IDEIntelliJ IDEAJava
0 likes · 20 min read
Comprehensive Guide to Using IntelliJ IDEA Debug Features
FunTester
FunTester
Apr 6, 2025 · Backend Development

Understanding Java ClassLoader: Common Issues, Root Causes, and Solutions

This article explains Java's dynamic ClassLoader mechanism, outlines the hierarchy of built‑in loaders, details frequent problems such as ClassNotFoundException, NoClassDefFoundError, ClassCastException and version conflicts, and provides practical troubleshooting steps and best‑practice recommendations for reliable class loading.

CustomClassLoaderJVMJava
0 likes · 10 min read
Understanding Java ClassLoader: Common Issues, Root Causes, and Solutions
AntData
AntData
Apr 3, 2025 · Artificial Intelligence

Ray Flow Insight: Visualizing and Debugging Distributed AI Applications

Ray Flow Insight is an Ant Group open‑source tool that visualizes Ray's distributed programming primitives—Actors, Tasks, and Objects—to turn complex reinforcement‑learning systems from opaque "black boxes" into transparent, debuggable workflows, providing logical, physical, distributed stack, and flame‑graph views for performance analysis and optimization.

AIRayRay Flow Insight
0 likes · 32 min read
Ray Flow Insight: Visualizing and Debugging Distributed AI Applications
Deepin Linux
Deepin Linux
Apr 2, 2025 · Operations

Comprehensive Guide to bpftrace: Features, Architecture, Installation, and Practical Use Cases

This article introduces bpftrace, an eBPF‑based dynamic tracing tool for Linux, explains its core concepts, technical architecture, installation methods, basic syntax, and demonstrates real‑world performance analysis, fault diagnosis, and security monitoring scenarios while comparing it with DTrace, SystemTap, and BCC.

Linux performanceMonitoringSystem Tracing
0 likes · 24 min read
Comprehensive Guide to bpftrace: Features, Architecture, Installation, and Practical Use Cases
Deepin Linux
Deepin Linux
Mar 31, 2025 · Fundamentals

Understanding and Using Ftrace for Linux Kernel Tracing

This article provides a comprehensive guide to Linux's ftrace tool, explaining its purpose, various tracers, how to set up and use it via debugfs, detailed command examples, implementation details, practical use cases for performance tuning and debugging, and a comparison with other tracing utilities.

System TracingTracingdebugging
0 likes · 40 min read
Understanding and Using Ftrace for Linux Kernel Tracing
Code Mala Tang
Code Mala Tang
Mar 30, 2025 · Fundamentals

Master Python’s locals() and globals(): When and How to Use Them

Learn the essential differences between Python’s locals() and globals() functions, how they reveal variable scopes, how to modify them safely, and practical use cases such as dynamic variable creation, debugging, and performance considerations, all illustrated with clear code examples.

PythonVariable Scopedebugging
0 likes · 7 min read
Master Python’s locals() and globals(): When and How to Use Them
Deepin Linux
Deepin Linux
Mar 28, 2025 · Fundamentals

Comprehensive Guide to Using GDB for Debugging C/C++ Programs

This article provides an in-depth tutorial on the GNU Debugger (GDB), covering its purpose, installation, basic and advanced commands, remote debugging, memory analysis, and practical tips for efficiently debugging C/C++ applications on Linux and Windows platforms.

C++Remote Debuggingcommand-line
0 likes · 25 min read
Comprehensive Guide to Using GDB for Debugging C/C++ Programs
转转QA
转转QA
Mar 26, 2025 · Fundamentals

From Newbie to Test Engineer: Leveling Up in the Workplace

The article shares a fresh graduate’s journey as a test development engineer at ZuanZuan, describing the initial confusion over testing concepts, the mentorship that clarified them, and the progressive skill upgrades and mindset shifts needed to become an effective, full‑stack contributor in a professional software team.

Automation testingCareer Advicedebugging
0 likes · 8 min read
From Newbie to Test Engineer: Leveling Up in the Workplace
ELab Team
ELab Team
Mar 26, 2025 · Artificial Intelligence

Uncovering LLM Blind Spots in AI Coding: Common Pitfalls and Solutions

Large language models often struggle with coding tasks, failing to stop when encountering obstacles, ignoring black‑box testing principles, and making unnecessary refactors; this article examines those blind spots, offers practical examples, and suggests strategies such as preparatory refactoring, stateless tools, and careful prompting to improve AI‑assisted development.

AI codingBest PracticesLLM
0 likes · 59 min read
Uncovering LLM Blind Spots in AI Coding: Common Pitfalls and Solutions
Deepin Linux
Deepin Linux
Mar 17, 2025 · Fundamentals

Understanding and Debugging Linux Kernel Oops Errors

This article explains what Linux kernel Oops messages are, distinguishes between BUG, Oops, and panic, outlines common causes, preparation steps, debugging tools, kernel configuration options, and provides a detailed case study with analysis and solutions for kernel Oops troubleshooting.

LinuxOopsdebugging
0 likes · 44 min read
Understanding and Debugging Linux Kernel Oops Errors
DeWu Technology
DeWu Technology
Mar 12, 2025 · Mobile Development

Android Crash Analysis and Fixes: DNS, MediaCodec, BIO, and Focus Issues

The article details four native DeWu Android client crashes—DNS resolution, MediaCodec state‑exception, BIO multi‑thread, and Xiaomi Android 15 focus null‑pointer—explains their root causes, and demonstrates inline‑hook, PLT‑hook, and JNI‑hook fixes that lowered the crash rate from 2/10 000 to about 1.2/10 000.

AndroidCrashAnalysisNativeHook
0 likes · 20 min read
Android Crash Analysis and Fixes: DNS, MediaCodec, BIO, and Focus Issues
macrozheng
macrozheng
Mar 11, 2025 · Backend Development

Master Java Debugging with Arthas: Essential Commands and Real‑World Use Cases

This guide introduces Alibaba's open‑source Arthas Java diagnostic tool, explains its installation, outlines common troubleshooting scenarios, and provides detailed examples of core commands such as stack, jad, sc, watch, trace, jobs, logger, dashboard, and redefine for live JVM debugging.

ArthasBackend Developmentdebugging
0 likes · 17 min read
Master Java Debugging with Arthas: Essential Commands and Real‑World Use Cases