Tagged articles

debugging

1010 articles · Page 5 of 11
Rare Earth Juejin Tech Community
Rare Earth Juejin Tech Community
Nov 2, 2023 · Backend Development

Rethinking Global Exception Handling in SpringBoot Applications

This article examines the pitfalls of using SpringBoot's @ControllerAdvice and @ExceptionHandler for global exception handling, illustrates common issues across controller, service, and data layers, and proposes more precise logging and debugging strategies to improve error traceability and maintainability.

ExceptionHandlingJavaLogging
0 likes · 7 min read
Rethinking Global Exception Handling in SpringBoot Applications
Python Programming Learning Circle
Python Programming Learning Circle
Oct 27, 2023 · Fundamentals

Common Python Errors and How to Fix Them

This article introduces the most frequent Python errors—including syntax, runtime, and logical mistakes—explains their typical causes, and provides practical solutions and debugging techniques such as using IDEs, print statements, and unit tests, complemented by a case study and useful tips.

Pythonbest-practicescommon errors
0 likes · 5 min read
Common Python Errors and How to Fix Them
Architecture Digest
Architecture Digest
Oct 26, 2023 · Backend Development

Diagnosing and Resolving Redis Connection Pool Blocking in a Spring Boot Application

The article details a week‑long investigation of a sandbox environment where Spring Boot APIs became unresponsive due to Redis connection pool blocking, describing the use of system tools, JVM thread analysis, and code inspection to identify mis‑configured pool settings and recommending proper connection handling with Spring's RedisTemplate.

ArthasConnection PoolJedis
0 likes · 8 min read
Diagnosing and Resolving Redis Connection Pool Blocking in a Spring Boot Application
Deepin Linux
Deepin Linux
Oct 21, 2023 · Fundamentals

Step-by-Step Guide to Building and Debugging an ARM64 Linux Kernel with QEMU

This tutorial details how to set up a cross‑compilation toolchain on Ubuntu 20.04, install QEMU, build a BusyBox‑based root filesystem, compile and configure the ARM64 Linux kernel, create a simulated disk, share files between host and guest, and perform kernel debugging using GDB and Eclipse.

ARM64Linuxcross-compilation
0 likes · 15 min read
Step-by-Step Guide to Building and Debugging an ARM64 Linux Kernel with QEMU
Top Architect
Top Architect
Oct 10, 2023 · Cloud Computing

Docker’s New Hybrid Tools: Next‑Gen Build, Debug, and Scout

Docker announced three new hybrid tools at DockerCon—Next‑Gen Docker Build, which claims a 39‑fold speed boost by leveraging cloud resources; Docker Debug, a language‑agnostic toolbox for faster container debugging; and Docker Scout, an integrated security assistant—highlighting a shift toward combined local and cloud development workflows.

Cloud ComputingDockerbuild acceleration
0 likes · 7 min read
Docker’s New Hybrid Tools: Next‑Gen Build, Debug, and Scout
php Courses
php Courses
Oct 9, 2023 · Backend Development

Debugging and Optimizing Database Connections in PHP

This article explains how to debug and optimize PHP database connections using PDO and mysqli, demonstrates error handling and logging techniques, and presents performance improvements such as persistent connections, connection pooling, and query optimization with practical code examples.

Connection PoolDatabaseOptimization
0 likes · 6 min read
Debugging and Optimizing Database Connections in PHP
Aikesheng Open Source Community
Aikesheng Open Source Community
Oct 8, 2023 · Databases

Why Adding foreign_key_checks to my.cnf Causes MySQL Startup Failure and How to Identify Non‑Configurable System Variables

This article investigates why inserting the foreign_key_checks system variable into MySQL's my.cnf prevents the server from starting, explains the underlying NO_CMD_LINE flag mechanism, and provides a simple command‑line method to distinguish variables that can or cannot be set via configuration files.

MySQLNO_CMD_LINEconfiguration
0 likes · 6 min read
Why Adding foreign_key_checks to my.cnf Causes MySQL Startup Failure and How to Identify Non‑Configurable System Variables
Amap Tech
Amap Tech
Sep 27, 2023 · Fundamentals

Crash Analysis of C++ LooperObserverMan: Memory Reordering and Segmentation Fault

The crash in asl::LooperObserverMan::notifyIdle was traced to a compiler‑level store‑store reordering that exposed an uninitialized observer pointer, causing an illegal memory access, and was fixed by inserting a memory barrier or using proper atomic ordering to enforce correct initialization order.

C++Memory Reorderingcrash-analysis
0 likes · 32 min read
Crash Analysis of C++ LooperObserverMan: Memory Reordering and Segmentation Fault
AI Large Model Application Practice
AI Large Model Application Practice
Sep 25, 2023 · Artificial Intelligence

How LangSmith Turns LLM Debugging, Testing, and Production Monitoring into a Seamless Workflow

This article explores LangSmith, the experimental platform from the creators of LangChain, detailing how it tracks complex LLM reasoning, supports batch testing and evaluation of AI applications, and offers a community Hub for sharing prompts and chains, ultimately helping move LLM projects from prototype to production.

AI testingLLMLangSmith
0 likes · 10 min read
How LangSmith Turns LLM Debugging, Testing, and Production Monitoring into a Seamless Workflow
DevOps Coach
DevOps Coach
Sep 21, 2023 · Operations

What Is Observability (o11y) and Why It Matters for Modern Cloud‑Native Operations

The article explains the origins, common misconceptions, and a rigorous definition of observability (o11y), highlights its importance in cloud‑native environments, and describes how high‑cardinality, high‑dimensional telemetry enables effective debugging, troubleshooting, and performance analysis of modern distributed systems.

Monitoringcloud-nativedebugging
0 likes · 11 min read
What Is Observability (o11y) and Why It Matters for Modern Cloud‑Native Operations
Yunxuetang Frontend Team
Yunxuetang Frontend Team
Sep 8, 2023 · Frontend Development

Master Front-End Technologies and Architecture: Essential Strategies

This guide explores essential front‑end techniques—from efficiently handling massive data sets and adopting the Svelte framework, to containerizing deployments, mastering Chrome and VSCode debugging, applying clean architecture principles, and dissecting eight classic sorting algorithms—providing practical insights for modern web developers.

FrontendPerformanceSorting Algorithms
0 likes · 3 min read
Master Front-End Technologies and Architecture: Essential Strategies
Bilibili Tech
Bilibili Tech
Sep 8, 2023 · Backend Development

Investigation of Goroutine Leak in Go

The article details how a sudden surge in goroutine and heap usage was traced to repeatedly creating gRPC clients instead of reusing a singleton, leading to blocked goroutines and TCP connections, and explains using pprof, stack traces, and tools like goleak to detect and prevent such leaks.

Go ProgrammingPerformance Tuningdebugging
0 likes · 13 min read
Investigation of Goroutine Leak in Go
Liangxu Linux
Liangxu Linux
Aug 22, 2023 · Backend Development

Why Does My First MD5 Call Take Seconds? Debugging Java Hashing Slowness with Arthas

The article explains a real‑world issue where the first invocation of a MD5 hash in a Java backend took dozens of seconds, describes how the problem was traced using the Arthas diagnostic tool, reveals that the delay stemmed from BouncyCastle algorithm loading, and shows how replacing the library resolved the performance bottleneck.

ArthasJavaMD5
0 likes · 10 min read
Why Does My First MD5 Call Take Seconds? Debugging Java Hashing Slowness with Arthas
Test Development Learning Exchange
Test Development Learning Exchange
Aug 22, 2023 · Operations

Using Charles Proxy for Software Testing: Benefits and Step‑by‑Step Setup

This guide explains the advantages of using the Charles proxy tool for software testing—including network traffic monitoring, debugging, environment simulation, security testing, and automation support—followed by detailed instructions for downloading, installing, registering, and configuring the tool.

Charles ProxyNetwork Monitoringdebugging
0 likes · 4 min read
Using Charles Proxy for Software Testing: Benefits and Step‑by‑Step Setup
DaTaobao Tech
DaTaobao Tech
Aug 14, 2023 · Fundamentals

Quick Guide to ARM Assembly Development: Tips, Bugs, and Performance Optimization

This quick‑start guide walks readers through ARM assembly development by teaching simple template functions, exposing typical parameter‑passing and register bugs with debugging tricks, and demonstrating a depthwise convolution written in assembly that delivers roughly 4.7× faster inference on a Huawei Mate40 Pro compared to its C++ counterpart, while also covering ARM32/ARM64 register conventions, vector instructions, and floating‑point handling.

ArmAssemblyNeuralNetwork
0 likes · 20 min read
Quick Guide to ARM Assembly Development: Tips, Bugs, and Performance Optimization
Aikesheng Open Source Community
Aikesheng Open Source Community
Aug 8, 2023 · Databases

Why Adding foreign_key_checks to my.cnf Breaks MySQL Startup and How to Identify Non‑Configurable System Variables

This article investigates why inserting the foreign_key_checks variable into MySQL's my.cnf causes the server to fail to start, explains the underlying NO_CMD_LINE flag mechanism, and provides a simple command‑line method to distinguish variables that can or cannot be set via configuration files.

MySQLNO_CMD_LINEconfiguration
0 likes · 6 min read
Why Adding foreign_key_checks to my.cnf Breaks MySQL Startup and How to Identify Non‑Configurable System Variables
Test Development Learning Exchange
Test Development Learning Exchange
Aug 6, 2023 · Fundamentals

Practical Python Garbage Collection and Memory Analysis: 10 Useful Code Examples

This article presents ten practical Python code examples demonstrating various garbage collection mechanisms and memory‑analysis tools, including reference counting, cyclic references, object inspection, tracemalloc, memory_profiler, pympler, and objgraph, to help developers understand and optimize memory usage.

Garbage CollectionMemory managementPython
0 likes · 4 min read
Practical Python Garbage Collection and Memory Analysis: 10 Useful Code Examples
JavaEdge
JavaEdge
Aug 1, 2023 · Backend Development

Explore IntelliJ IDEA 2023.2: New Profiling, Debugging, and Cloud Tools

IntelliJ IDEA 2023.2 introduces a suite of enhancements—including a Run‑window profiler, inline return breakpoints, automatic test reruns for Gradle/Maven/JPS, WSL‑based Tomcat debugging, TLS‑enabled gRPC requests, Swagger and OpenAPI support, shared index generation, and numerous UI and code‑completion upgrades—streamlining Java development workflows.

IntelliJ IDEAJavaProfiling
0 likes · 12 min read
Explore IntelliJ IDEA 2023.2: New Profiling, Debugging, and Cloud Tools
Tencent Database Technology
Tencent Database Technology
Jul 27, 2023 · Databases

MySQL Network Write Timeout (Error 1161) Analysis and Debugging

This article investigates a MySQL 8.0 TDSQL client experiencing connection interruptions during batch streaming, analyzes error 1161 (ER_NET_WRITE_INTERRUPTED) root causes in the MySQL source code, presents debugging steps with log and packet captures, and offers practical mitigation recommendations.

Database PerformanceError 1161MySQL
0 likes · 11 min read
MySQL Network Write Timeout (Error 1161) Analysis and Debugging
Python Programming Learning Circle
Python Programming Learning Circle
Jul 26, 2023 · Fundamentals

New Features in Python 3.11: Pattern Matching, Type Hints, Performance Optimizations, and More

This article introduces the major enhancements of Python 3.11—including structural pattern matching, improved type hints, faster execution via PEP 659, richer error messages, the new | dictionary‑merge operator, built‑in breakpoint debugging, and other standard‑library additions—illustrated with concise code examples.

New FeaturesPattern MatchingPerformance
0 likes · 8 min read
New Features in Python 3.11: Pattern Matching, Type Hints, Performance Optimizations, and More
MaGe Linux Operations
MaGe Linux Operations
Jul 23, 2023 · Operations

Debug Kubernetes Pods Without Restart Using Ephemeral Containers

This guide explains why exec‑based pod debugging is limited and demonstrates how to use Kubernetes ephemeral containers to troubleshoot network issues, trace processes, and debug nodes without restarting the pod, including step‑by‑step commands and code examples.

Ephemeral ContainersKubernetesdebugging
0 likes · 7 min read
Debug Kubernetes Pods Without Restart Using Ephemeral Containers
Volcano Engine Developer Services
Volcano Engine Developer Services
Jul 19, 2023 · Cloud Native

How Kelemetry Transforms Kubernetes Observability with Object‑Centric Tracing

Kelemetry, an open‑source tracing system from ByteDance, visualizes Kubernetes control‑plane events by treating each object as a span, linking audit logs, events, and component interactions to provide a unified, searchable view that simplifies debugging, performance analysis, and multi‑cluster observability.

KubernetesObservabilityTracing
0 likes · 14 min read
How Kelemetry Transforms Kubernetes Observability with Object‑Centric Tracing
MaGe Linux Operations
MaGe Linux Operations
Jul 13, 2023 · Backend Development

How I Diagnosed and Fixed a Persistent Java OOM Crash in Mybatis

The article recounts a production OutOfMemoryError incident caused by heap and metaspace exhaustion in a Java service, analyzes Mybatis's role in the memory leak, reproduces the issue with heavy SQL and multithreading, and offers concrete debugging and code‑optimization steps to prevent future crashes.

HeapMemoryJavaOutOfMemoryError
0 likes · 6 min read
How I Diagnosed and Fixed a Persistent Java OOM Crash in Mybatis
ByteFE
ByteFE
Jul 12, 2023 · Fundamentals

WebAssembly Source Debugging: Principles, Tools, and Comparative Analysis

This article introduces the fundamentals of source-level debugging for WebAssembly, explains core debugging principles, discusses native and managed program debugging, examines various debugging information formats such as SourceMap and DWARF, and compares several practical debugging solutions—including Chrome DevTools, LLDB with wasmtime or iwasm, and WasmInspect.

Chrome DevToolsDWARFLLDB
0 likes · 20 min read
WebAssembly Source Debugging: Principles, Tools, and Comparative Analysis
php Courses
php Courses
Jul 7, 2023 · Backend Development

Using print_r() and var_dump() to Print Arrays in PHP

This article explains the two primary PHP functions for displaying arrays—print_r() for readable output and var_dump() for detailed type and value information—provides syntax examples, and shows the resulting output of each function.

ArrayPHPbackend
0 likes · 2 min read
Using print_r() and var_dump() to Print Arrays in PHP
Test Development Learning Exchange
Test Development Learning Exchange
Jul 4, 2023 · Operations

Python Tools for Interface Automation: Albumentations, MonkeyType, Bleach, Plotnine, Returns, ipdb, and Virtualenv

This article introduces several powerful Python libraries—Albumentations for image augmentation, MonkeyType for type inference, Bleach for HTML sanitization, Plotnine for data visualization, Returns for exception handling, ipdb for interactive debugging, and Virtualenv for environment isolation—detailing their use cases and providing example code for interface automation.

Image AugmentationPythonType Checking
0 likes · 14 min read
Python Tools for Interface Automation: Albumentations, MonkeyType, Bleach, Plotnine, Returns, ipdb, and Virtualenv
Alipay Experience Technology
Alipay Experience Technology
Jun 30, 2023 · Frontend Development

Fixing V8 OOM Crashes in Electron: Debugging, Memory Analysis, and Building a Custom Electron

This article walks through diagnosing V8FatalErrorCallback OOM crashes in an Electron‑based PC Taobao Live client, explores stack analysis, disables compilation cache, adjusts V8 heap limits, compiles a custom Electron without pointer compression, and uses Chrome DevTools Memory and Performance tools along with runtime monitoring to locate and fix the underlying memory leak.

Chrome DevToolsElectronNode.js
0 likes · 35 min read
Fixing V8 OOM Crashes in Electron: Debugging, Memory Analysis, and Building a Custom Electron
DaTaobao Tech
DaTaobao Tech
Jun 28, 2023 · Backend Development

Debugging V8FatalErrorCallback OOM Crashes in Electron Live Streaming Client

The article details how the author traced V8FatalErrorCallback out‑of‑memory crashes in an Electron‑based Taobao Live client to an ever‑growing compilation cache and pointer‑compression limits, rebuilt Electron with those disabled, identified a JavaScript memory leak caused by unfiltered error logging, and implemented runtime heap monitoring to prevent future OOM failures.

ChromeDevToolsElectronMemoryLeak
0 likes · 35 min read
Debugging V8FatalErrorCallback OOM Crashes in Electron Live Streaming Client
JD Tech
JD Tech
Jun 26, 2023 · Backend Development

Debugging and Resolving Netty Long‑Connection Memory Leak Issues

This article details a real‑world Netty long‑connection memory‑leak case, explains how to reproduce the problem, uses Netty's advanced leak detection to pinpoint the faulty ByteBuf usage, and presents three practical remediation strategies to permanently fix the leak.

Backend DevelopmentNettydebugging
0 likes · 14 min read
Debugging and Resolving Netty Long‑Connection Memory Leak Issues
Xiao Lou's Tech Notes
Xiao Lou's Tech Notes
Jun 26, 2023 · Backend Development

Why SkyWalking’s ThreadPool Plugin Failed and How I Fixed It

This article explains the root cause of the thread‑pool plugin enhancement failure in SkyWalking—duplicate AgentClassLoader instances—detailing the investigation steps, code changes, and two practical solutions to ensure reliable instrumentation of ThreadPoolExecutor.

InstrumentationJavaAgentSkyWalking
0 likes · 18 min read
Why SkyWalking’s ThreadPool Plugin Failed and How I Fixed It
Laravel Tech Community
Laravel Tech Community
Jun 25, 2023 · Backend Development

Understanding PHP Magic Methods: __toString, __invoke, __set_state, __clone, __autoload, and __debugInfo

This article explains the purpose, usage, constraints, and example code for several PHP magic methods—including __toString, __invoke, __set_state, __clone, __autoload, and __debugInfo—showing their effects, common pitfalls, and how they improve object handling and debugging in modern PHP applications.

__invokeautoloadclone
0 likes · 10 min read
Understanding PHP Magic Methods: __toString, __invoke, __set_state, __clone, __autoload, and __debugInfo
Top Architect
Top Architect
May 31, 2023 · Backend Development

FastJson Date Formatting and Circular Reference Issues: A Debugging Journey

The article recounts a senior architect's investigation into FastJson's date formatting bug and circular reference handling, detailing version mismatches, GitHub issue tracking, feature flag usage, and lessons for backend developers on avoiding hidden serialization pitfalls.

FastJSONJavadate_format
0 likes · 11 min read
FastJson Date Formatting and Circular Reference Issues: A Debugging Journey
Alipay Experience Technology
Alipay Experience Technology
May 15, 2023 · Frontend Development

How to Diagnose and Fix Electron Crash Issues in Taobao Live

This article walks through the entire crash‑handling workflow for an Electron‑based Taobao Live client, covering why crashes occur, how to capture minidumps with Crashpad, report them to monitoring platforms, and analyze the dumps using Visual Studio or WinDbg.

Crash ReportingElectronWindows
0 likes · 17 min read
How to Diagnose and Fix Electron Crash Issues in Taobao Live
IT Services Circle
IT Services Circle
May 10, 2023 · Backend Development

Debugging a .NET Login Hang Caused by MySQL SSL Connection Using WinDbg

An engineer troubleshoots a .NET application login freeze by capturing a dump with WinDbg, discovers the thread blocked in MySQL SSL handshake, verifies the MySQL driver version, and resolves the issue by disabling SSL via the connection string, illustrating effective debugging without source code or logs.

.NETConnectionStringMySQL
0 likes · 8 min read
Debugging a .NET Login Hang Caused by MySQL SSL Connection Using WinDbg
FunTester
FunTester
Apr 26, 2023 · Fundamentals

Why Java Is Essential for Test Engineers and How to Get Started

The article explains why test engineers need solid programming skills, highlights Java's cross‑platform advantages, rich libraries, and simple syntax, and provides a step‑by‑step guide covering core concepts, development setup, coding standards, practice exercises, common APIs, debugging tips, and essential testing tools.

JavaProgramming Fundamentalsdebugging
0 likes · 10 min read
Why Java Is Essential for Test Engineers and How to Get Started
Liangxu Linux
Liangxu Linux
Apr 25, 2023 · Fundamentals

The Most Stupid C Bug Ever: How a Backslash Turned Code Into a Comment

A seemingly harmless C bug caused a Windows build to ignore a ternary file‑creation expression because a stray backslash in a comment turned the following code into a comment, illustrating how tiny syntax errors can cripple cross‑platform programs.

C++Cross‑PlatformPreprocessor
0 likes · 7 min read
The Most Stupid C Bug Ever: How a Backslash Turned Code Into a Comment
Su San Talks Tech
Su San Talks Tech
Apr 24, 2023 · Backend Development

Mastering Spring @EventListener: From Demo to Deep Debugging

This article walks through building a Spring @EventListener demo, explains how to decouple registration logic, shows step‑by‑step debugging of the event‑listener infrastructure, and explores the internal mechanisms that register and invoke listeners during application startup and runtime.

ApplicationEventJavaSpring
0 likes · 14 min read
Mastering Spring @EventListener: From Demo to Deep Debugging
HomeTech
HomeTech
Apr 19, 2023 · Mobile Development

Debugging React‑Native White‑Screen Crashes by Analyzing Metro Bundling and Extracting Code‑Feature Patterns

The article walks through a real‑world React‑Native white‑screen crash, explains how the Metro bundler transforms source code into a jsbundle, extracts two distinctive code‑feature patterns (e.default = v and return (0, l.default)(b,[{)), and demonstrates how these patterns can be used to locate the original component files responsible for the error.

JSBundleMetroMobile Development
0 likes · 13 min read
Debugging React‑Native White‑Screen Crashes by Analyzing Metro Bundling and Extracting Code‑Feature Patterns
Liangxu Linux
Liangxu Linux
Apr 18, 2023 · Fundamentals

How to Monitor Every Thread of an Embedded Linux Process with top -H

This guide shows how to create a multi‑threaded C program on embedded Linux, set thread names with pthread_setname_np, and use the top command with the -H option to display each thread’s status, illustrating the difference when thread names are omitted.

EmbeddedLinuxThreads
0 likes · 6 min read
How to Monitor Every Thread of an Embedded Linux Process with top -H
Big Data Technology & Architecture
Big Data Technology & Architecture
Apr 10, 2023 · Big Data

Fine‑grained Configuration, State Migration, and Debugging Techniques for Flink SQL at Meituan

This article describes how Meituan addresses the rapid growth of Flink SQL jobs by introducing fine‑grained TTL and concurrency settings, an editable execution plan for state migration, pre‑analysis compatibility checks, and a bytecode‑instrumented debugging system that captures operator data and streams it to Kafka for analysis.

Big DataFlinkMeituan
0 likes · 24 min read
Fine‑grained Configuration, State Migration, and Debugging Techniques for Flink SQL at Meituan
Liangxu Linux
Liangxu Linux
Apr 5, 2023 · Operations

Debugging Core Dumps in Embedded Linux with GDB

This guide explains what core dump files are, how to configure foreground and background processes to generate them on embedded Linux, and provides step‑by‑step commands and sample code for enabling core dumps and analyzing them with arm‑linux‑gnueabihf‑gdb.

DaemonEmbedded Linuxcore dump
0 likes · 9 min read
Debugging Core Dumps in Embedded Linux with GDB
Python Programming Learning Circle
Python Programming Learning Circle
Apr 1, 2023 · Fundamentals

JupyterLab Visual Debugger and xeus‑python Kernel: Installation, Features, and Front‑End Architecture

The article introduces JupyterLab’s new visual debugger, explains why debugging is needed in Jupyter, provides installation commands for the front‑end extension and xeus‑python kernel, describes the debugger’s UI components and capabilities, and compares it with a VS Code visual debugging tool.

DebuggerIDEJupyterLab
0 likes · 6 min read
JupyterLab Visual Debugger and xeus‑python Kernel: Installation, Features, and Front‑End Architecture
Architecture Digest
Architecture Digest
Mar 28, 2023 · Artificial Intelligence

How ChatGPT Assists Developers: Benefits, Use Cases, and Limitations

This article explains how ChatGPT, the popular AI chatbot, can boost developer productivity through testing, debugging, documentation, error detection, code completion, formatting, refactoring, search assistance, text classification, and summarization, while also highlighting its need for human oversight and risks such as plagiarism.

Artificial IntelligenceChatGPTDeveloper Tools
0 likes · 7 min read
How ChatGPT Assists Developers: Benefits, Use Cases, and Limitations
NetEase Cloud Music Tech Team
NetEase Cloud Music Tech Team
Mar 21, 2023 · Operations

How to Capture Precise Android Stack Traces: Native vs Instrumentation Methods

This article examines why a single Thread.currentThread().getStackTrace() call is insufficient for modern Android performance debugging, compares instrumentation and native stack‑capture approaches, and provides detailed step‑by‑step implementations, code snippets, and optimization tips for reliable stack tracing.

AndroidInstrumentationNative
0 likes · 14 min read
How to Capture Precise Android Stack Traces: Native vs Instrumentation Methods
Liangxu Linux
Liangxu Linux
Mar 19, 2023 · Operations

Master Log Analysis: Fast Linux Commands to Pinpoint Errors

This guide shows programmers how to quickly locate errors in massive server logs using essential Linux commands such as tail, cat, grep, sed, and pagination tools, providing step‑by‑step examples and tips for efficient debugging.

LinuxOperationsShell Commands
0 likes · 12 min read
Master Log Analysis: Fast Linux Commands to Pinpoint Errors
Code Ape Tech Column
Code Ape Tech Column
Mar 13, 2023 · Backend Development

Diagnosing and Resolving 900% CPU Spikes in MySQL and Java Processes

This article explains common scenarios that cause CPU usage to soar above 200% in production, outlines step‑by‑step diagnosis and remediation for MySQL and Java processes, and shares real‑world case studies with command‑line tools, indexing, caching, and code adjustments to bring CPU load back to normal levels.

CPUCachingIndexing
0 likes · 11 min read
Diagnosing and Resolving 900% CPU Spikes in MySQL and Java Processes
ITPUB
ITPUB
Mar 6, 2023 · Backend Development

Why Did MySQL Return Stale Data? A SkyWalking Tracing Case Study

This article walks through a real‑world incident where an update to a MySQL row was not visible to a subsequent read, explains how SkyWalking tracing revealed the exact timing of binlog writing, MQ delivery, and query execution, and offers practical mitigation strategies.

CanalMySQLSkyWalking
0 likes · 13 min read
Why Did MySQL Return Stale Data? A SkyWalking Tracing Case Study
Architecture Digest
Architecture Digest
Jan 15, 2023 · Backend Development

Debugging High CPU Usage in Nacos Config Client and Understanding Raft Network Partition

The article details a sudden CPU spike in a Java backend service using Nacos, walks through diagnosing the offending thread with top and jstack, analyzes Nacos client thread creation and scheduled gray‑config tasks, explains Raft network partition handling, and presents a fix that checks config health and avoids unnecessary thread creation.

CPUJavaNacos
0 likes · 8 min read
Debugging High CPU Usage in Nacos Config Client and Understanding Raft Network Partition
Open Source Linux
Open Source Linux
Jan 13, 2023 · Operations

Mastering crontab: Common Pitfalls and How to Fix Them

This guide explains what crontab does, its syntax and options, provides practical examples, highlights typical problems such as environment variables, time misconfiguration, special characters and output redirection, and offers debugging tips and tools for reliable Linux task scheduling.

LinuxTask schedulingcron
0 likes · 15 min read
Mastering crontab: Common Pitfalls and How to Fix Them
Sohu Tech Products
Sohu Tech Products
Jan 11, 2023 · Mobile Development

Understanding Android ANR: Causes, Trigger Process, Monitoring Techniques, and Analysis

This comprehensive article explains what Android ANR (Application Not Responding) is, details its various causes and trigger scenarios, walks through the internal service‑side workflow, and presents practical monitoring solutions—including a watchdog thread and SIGQUIT signal interception—along with code samples, trace analysis methods, and mitigation strategies for developers.

ANRAndroidPerformance
0 likes · 48 min read
Understanding Android ANR: Causes, Trigger Process, Monitoring Techniques, and Analysis
Liangxu Linux
Liangxu Linux
Dec 24, 2022 · Operations

Mastering crontab: Common Pitfalls, Debugging Tips, and Practical Examples

This guide explains what crontab does, how to write and manage user and system cron jobs, shows real‑world syntax examples, highlights typical pitfalls such as environment variables, time fields, special characters and output redirection, and provides debugging strategies including the crontab.guru online parser.

LinuxTask schedulingcron
0 likes · 15 min read
Mastering crontab: Common Pitfalls, Debugging Tips, and Practical Examples
Soul Technical Team
Soul Technical Team
Dec 19, 2022 · Mobile Development

Common Flutter Performance Pitfalls and Their Solutions at Soul App

This article details several real‑world Flutter performance problems encountered at Soul—including excessive memory usage for emojis, iOS 14 debug launch restrictions, high CPU consumption of Lottie animations, background‑foreground flickering, and PlatformView memory leaks—and provides concrete mitigation strategies with code examples.

FlutterPerformancePlatformView
0 likes · 11 min read
Common Flutter Performance Pitfalls and Their Solutions at Soul App
Liangxu Linux
Liangxu Linux
Dec 18, 2022 · Operations

Boost Your Terminal Debugging: From Raw GDB to TUI, CGDB, Emacs and gdbgui

This guide walks you through turning the basic command‑line GDB into a far more efficient debugging environment by using GDB's built‑in TUI, custom .gdbinit scripts, the cgdb front‑end, Emacs gdb‑mode, and the browser‑based gdbgui, complete with key bindings, window layouts and practical tips.

EmacsTUIdebugging
0 likes · 15 min read
Boost Your Terminal Debugging: From Raw GDB to TUI, CGDB, Emacs and gdbgui
Top Architect
Top Architect
Dec 14, 2022 · Backend Development

A Comprehensive Guide to Using Arthas for Java Application Debugging and Monitoring

This article introduces Arthas, Alibaba's open‑source Java diagnostic tool, explains its installation, showcases common commands such as stack, jad, sc, watch, trace, jobs, logger, dashboard, and redefine, and demonstrates how to use them to monitor JVM status, trace method calls, inspect classes, and perform hot‑updates without restarting the application.

ArthasJVM MonitoringJava
0 likes · 14 min read
A Comprehensive Guide to Using Arthas for Java Application Debugging and Monitoring
Architecture Digest
Architecture Digest
Nov 29, 2022 · Databases

MySQL InnoDB Deadlock Analysis and Resolution for a Video‑Conference Service

The article details a step‑by‑step investigation of an intermittent deadlock occurring during session creation in a video‑conference system, explains how InnoDB lock types caused the conflict between DELETE and INSERT statements on the session and session_endpoint tables, reproduces the issue, debugs MySQL source code, and presents a simple code‑order fix to eliminate the deadlock.

DatabaseDeadlockInnoDB
0 likes · 21 min read
MySQL InnoDB Deadlock Analysis and Resolution for a Video‑Conference Service
DaTaobao Tech
DaTaobao Tech
Nov 28, 2022 · Frontend Development

Handling Application Crashes in Electron on Windows

The article explains how uncaught exceptions cause Electron app crashes on Windows, describes Windows’ user‑mode dump types, shows how Crashpad generates minidumps via a simple exception filter, demonstrates starting the built‑in crash reporter in JavaScript, and outlines uploading and analyzing dumps with Visual Studio or WinDbg, plus a watchdog restart strategy.

Crash HandlingCrashpadElectron
0 likes · 17 min read
Handling Application Crashes in Electron on Windows
Rare Earth Juejin Tech Community
Rare Earth Juejin Tech Community
Nov 24, 2022 · Frontend Development

Debugging React Source Code with Webpack Alias and Custom CRA Configuration

This guide walks through creating a React app, downloading the React source, building it, linking the packages, configuring webpack aliases, fixing import paths, disabling ESLint, adjusting environment variables, and resolving internal React errors so you can edit and debug the original React source directly in the browser.

ReActSource Codecreate-react-app
0 likes · 11 min read
Debugging React Source Code with Webpack Alias and Custom CRA Configuration
Java Backend Technology
Java Backend Technology
Nov 22, 2022 · Backend Development

Why Adding a Simple Log Triggered NPE in FastJSON Serialization – Lessons Learned

A recent production incident caused by inserting a single log statement revealed how FastJSON's ASM‑generated serializer invokes methods like isChinaName(), leading to a NullPointerException, and the article dissects the root cause, serialization mechanics, and best‑practice annotations to prevent similar bugs.

Javaannotationsdebugging
0 likes · 9 min read
Why Adding a Simple Log Triggered NPE in FastJSON Serialization – Lessons Learned
Yunxuetang Frontend Team
Yunxuetang Frontend Team
Nov 19, 2022 · Frontend Development

Top Frontend Techniques: Lodash, Iterators, Web3D, Performance Tips

This guide surveys essential frontend topics—including deep dives into lodash usage, iterator and generator concepts, Web3D visualizations, hybrid remote debugging, long‑task performance optimization, Chrome DevTools measurement, and creative image‑loading effects—offering practical insights for modern web developers.

FrontendPerformanceWeb Development
0 likes · 3 min read
Top Frontend Techniques: Lodash, Iterators, Web3D, Performance Tips
ITPUB
ITPUB
Nov 13, 2022 · Databases

Why Does MySQL Hang on Startup? Deep Dive into InnoDB Truncate Bug and Fix

A MySQL DBA recounts a 4‑TB InnoDB instance that stalled during startup, analyzes top, stack traces, and source code to pinpoint a bug involving truncate operations and the buf_flush_event, then presents three practical solutions—including adjusting innodb_flush_sync, using GDB to break the wait loop, or removing truncate logs—to restore normal operation.

InnoDBMySQLTRUNCATE
0 likes · 16 min read
Why Does MySQL Hang on Startup? Deep Dive into InnoDB Truncate Bug and Fix
21CTO
21CTO
Nov 10, 2022 · Fundamentals

Which Mistakes Are Killing Your Developer Career? 10 Habits to Avoid

This article outlines ten common developer missteps—from hoarding knowledge and skipping code reviews to weak testing and undocumented changes—and explains how avoiding them can transform you into a high‑value software engineer.

Testingcode reviewdebugging
0 likes · 5 min read
Which Mistakes Are Killing Your Developer Career? 10 Habits to Avoid
Ctrip Technology
Ctrip Technology
Nov 10, 2022 · Operations

Case Study: CORS Failure Caused by CDN Misconfiguration and Its Resolution

This article recounts a real‑world incident where a change to the Access‑Control‑Allow‑Origin header triggered CORS errors for credentialed requests, analyzes the CDN caching and Vary‑header issues that caused inconsistent responses, and outlines the steps taken to fix and prevent the problem.

CDNCORSCache
0 likes · 10 min read
Case Study: CORS Failure Caused by CDN Misconfiguration and Its Resolution
Python Crawling & Data Mining
Python Crawling & Data Mining
Nov 5, 2022 · Backend Development

Why Removing Dummy Parameters Can Fix Your Python Web Scraper

This article explains how a Python web‑scraping request failed due to extra nested parameters, shows the step‑by‑step debugging process, and demonstrates that deleting trivial 0/1 values can restore the request, offering a practical tip for similar crawling issues.

PythonRequest ParametersWeb Scraping
0 likes · 4 min read
Why Removing Dummy Parameters Can Fix Your Python Web Scraper
Baidu Geek Talk
Baidu Geek Talk
Nov 2, 2022 · Backend Development

Avoid These Common Go Pitfalls Before They Crash Your Code

This article compiles a series of frequent Go programming pitfalls—ranging from incorrect use of unsafe.Sizeof and variadic any parameters to slice expansion, pointer handling, closure capture, concurrency bugs, and serialization quirks—providing concrete code examples and safe alternatives to help developers write more reliable Go code.

Best PracticesConcurrencydebugging
0 likes · 18 min read
Avoid These Common Go Pitfalls Before They Crash Your Code