Tagged articles

Debugging

1031 articles · Page 4 of 11
Liangxu Linux
Liangxu Linux
Aug 12, 2024 · Fundamentals

Understanding C Memory Leaks: Causes, Detection, and Prevention

This article explains why memory leaks occur only with heap allocations in C, describes how malloc and related functions allocate memory, outlines two common ways to obtain heap memory, identifies the three essential elements of a leak, debunks common freeing misconceptions, and provides practical inspection steps to prevent leaks.

C++DebuggingProgramming Fundamentals
0 likes · 6 min read
Understanding C Memory Leaks: Causes, Detection, and Prevention
21CTO
21CTO
Aug 11, 2024 · Fundamentals

Is the ‘Hardcore Programmer’ Myth Holding Back Modern Development?

The article examines the “hardcore programmer” mindset that rejects modern IDEs, GUIs, and AI, tracing its roots to early resource‑constrained computing, debunking myths about IDEs, CLI, OS choice, and AI, and advocating a balanced, tool‑agnostic approach to boost productivity and code quality.

AI toolsCLIDebugging
0 likes · 13 min read
Is the ‘Hardcore Programmer’ Myth Holding Back Modern Development?
JD Tech
JD Tech
Aug 8, 2024 · Backend Development

Resolving JaCoCo-Induced ClassCastException Caused by Synthetic $jacocoData Field in Java Applications

This article details a Java ClassCastException caused by JaCoCo’s injected $jacocoData boolean array, explains how synthetic fields arise during bytecode instrumentation, analyzes the failing encryptObject method, and presents a fix by filtering synthetic fields using isSynthetic() to restore normal order processing.

ClassCastExceptionDebuggingJaCoCo
0 likes · 11 min read
Resolving JaCoCo-Induced ClassCastException Caused by Synthetic $jacocoData Field in Java Applications
Code Mala Tang
Code Mala Tang
Aug 5, 2024 · Backend Development

Master VS Code launch.json: Debug Node.js and Chrome with Ease

This guide explains why developers love Google DevTools, introduces VS Code's launch.json for configuring debugging sessions, covers REPL basics, provides practical examples for Node.js and Chrome debugging, and details every launch.json option with descriptions, types, defaults, and sample code.

ChromeConfigurationDebugging
0 likes · 11 min read
Master VS Code launch.json: Debug Node.js and Chrome with Ease
ByteDance SYS Tech
ByteDance SYS Tech
Aug 5, 2024 · Operations

How Netcap Uses eBPF to Trace Kernel Network Packets and Solve Drop Issues

Netcap, an open‑source eBPF‑based kernel network capture tool from ByteDance STE, lets developers trace packets across the entire Linux network stack, filter with tcpdump syntax, and extend functionality with custom filters, dramatically improving the efficiency of diagnosing kernel packet loss problems.

DebuggingLinux kerneleBPF
0 likes · 11 min read
How Netcap Uses eBPF to Trace Kernel Network Packets and Solve Drop Issues
Alibaba Cloud Observability
Alibaba Cloud Observability
Jul 31, 2024 · Cloud Native

How the New SLS Data Processing Boosts Performance, Cuts Cost, and Simplifies Debugging with SPL

This article explains how Alibaba Cloud's SLS data processing resolves the tension between simple log collection and the need for structured, analyzable data by introducing a unified SPL syntax, delivering over tenfold performance gains, reducing costs to one‑third, and providing powerful debugging tools for cloud‑native log analytics.

DebuggingLog ProcessingSPL
0 likes · 8 min read
How the New SLS Data Processing Boosts Performance, Cuts Cost, and Simplifies Debugging with SPL
IT Services Circle
IT Services Circle
Jul 28, 2024 · Backend Development

Root Cause Analysis of Repeated Backend Service Outages: Connection Pool Exhaustion and Slow SQL

During a Monday incident where the backend service became unavailable three times, the author details step-by-step investigations—checking frontend responses, container status, JVM and thread pool metrics, and database connection pool usage—ultimately identifying a slow, unindexed SQL query that exhausted connections, and describes the remediation and lessons learned.

Debuggingbackendconnection-pool
0 likes · 10 min read
Root Cause Analysis of Repeated Backend Service Outages: Connection Pool Exhaustion and Slow SQL
ITPUB
ITPUB
Jul 28, 2024 · Mobile Development

Why Do WebP Photos Corrupt on Android? A Deep Dive into AES Encryption Bugs

An Android app that stores shop‑sign photos began corrupting WebP images at a stable 1/200 rate, leading to a thorough investigation of the storage module, AES encryption implementation, and thread safety, ultimately uncovering a faulty string‑length check that broke binary image handling.

AES encryptionAndroidDebugging
0 likes · 16 min read
Why Do WebP Photos Corrupt on Android? A Deep Dive into AES Encryption Bugs
Spring Full-Stack Practical Cases
Spring Full-Stack Practical Cases
Jul 25, 2024 · Backend Development

Master Spring Cloud Gateway: Routing, Metrics, Filters & Debugging Tips

This guide walks through Spring Cloud Gateway features—including marking exchanges as routed, enabling route metrics, configuring metadata, accessing Reactor Netty logs, troubleshooting with debug logging, disabling automatic route refresh, ordering global filters, using Actuator sub‑paths, and rewriting request parameters—complete with code snippets and configuration examples.

DebuggingFiltersRouting
0 likes · 8 min read
Master Spring Cloud Gateway: Routing, Metrics, Filters & Debugging Tips
Ops Development & AI Practice
Ops Development & AI Practice
Jul 19, 2024 · Fundamentals

How to Record PowerShell Sessions with Start-Transcript

This guide explains how to use PowerShell's Start-Transcript command to capture all input and output of a session, covering basic usage, specifying output files, append mode, error capture, and practical scenarios like debugging, auditing, and training.

DebuggingPowerShellStart-Transcript
0 likes · 5 min read
How to Record PowerShell Sessions with Start-Transcript
IT Services Circle
IT Services Circle
Jul 15, 2024 · Fundamentals

Understanding Stack Pointer Corruption When Mixing RSP and ESP in 64‑bit Windows: A Reverse‑Engineering Case Study

The article analyzes a crash that occurs on Windows 10 when a 64‑bit program mixes RSP and ESP instructions, explains how writing to the 32‑bit ESP register zero‑extends the upper 32 bits of RSP, and shows how this stack‑pointer mismatch leads to an access‑violation error that does not appear on Windows 7.

AssemblyDebuggingReverse Engineering
0 likes · 6 min read
Understanding Stack Pointer Corruption When Mixing RSP and ESP in 64‑bit Windows: A Reverse‑Engineering Case Study
Rare Earth Juejin Tech Community
Rare Earth Juejin Tech Community
Jul 13, 2024 · Information Security

OpenCoreAnalysisKit: Open‑Source Offline Memory Core File Analysis Suite for Android

This article introduces the OpenCoreAnalysisKit project, an open‑source suite for offline analysis of Android Core memory files across multiple architectures, detailing its components, build requirements, usage guides for kernel‑ and user‑mode debugging, and various command‑line tools and code snippets for comprehensive reverse‑engineering and memory‑analysis workflows.

AndroidDebuggingMemory Analysis
0 likes · 20 min read
OpenCoreAnalysisKit: Open‑Source Offline Memory Core File Analysis Suite for Android
Alibaba Cloud Developer
Alibaba Cloud Developer
Jul 11, 2024 · Backend Development

Why Your logback-spring.xml Isn’t Working and How to Fix It

This article walks through the complete troubleshooting process for a non‑functional logback‑spring.xml in a Spring Boot application, covering background, configuration steps, common pitfalls such as variable resolution and dependency conflicts, remote debugging techniques, and final recommendations to ensure proper log output.

ConfigurationDebuggingJava
0 likes · 9 min read
Why Your logback-spring.xml Isn’t Working and How to Fix It
OPPO Kernel Craftsman
OPPO Kernel Craftsman
Jul 5, 2024 · Mobile Development

Understanding and Analyzing Android ANR (Application Not Responding) Issues

This article explains Android ANR (Application Not Responding) fundamentals, detailing its four types, underlying causes such as main‑thread blocking and deadlocks, the system’s timeout mechanisms, step‑by‑step analysis workflow, trace interpretation, and practical best‑practice tips to prevent and resolve ANR problems.

ANRAndroidDebugging
0 likes · 15 min read
Understanding and Analyzing Android ANR (Application Not Responding) Issues
Java Tech Enthusiast
Java Tech Enthusiast
Jul 1, 2024 · Backend Development

MyBatis OGNL Comparison Pitfall: Single Character vs String

The article reveals that MyBatis’s OGNL treats a single‑character literal like '1' as a Character, causing equality checks against String values in if tags to fail, and shows how using double quotes, toString(), or proper type conversion resolves the comparison pitfall.

ComparisonDebuggingJava
0 likes · 4 min read
MyBatis OGNL Comparison Pitfall: Single Character vs String
Tencent Architect
Tencent Architect
Jun 24, 2024 · Operations

Root Cause Analysis of Linux Kernel Hard Lockup on CPU 51

This article walks through a real Linux kernel hard lockup case, explaining what hard lockup is, analyzing stack traces and register values, identifying a spinlock contention on a per‑CPU runqueue, and showing how an inappropriate GFP flag caused interrupts to be enabled at the wrong time, leading to a deadlock and the eventual fix.

DebuggingPerf Eventshard-lockup
0 likes · 17 min read
Root Cause Analysis of Linux Kernel Hard Lockup on CPU 51
Rare Earth Juejin Tech Community
Rare Earth Juejin Tech Community
Jun 22, 2024 · Frontend Development

Debugging Production Errors with Ajax Interceptor, Source Maps, and Manual Mapping

This article explains practical methods for diagnosing and fixing production‑time JavaScript errors by using the Ajax‑Interceptor Chrome extension, understanding hidden‑source‑map vs source‑map differences, adding source‑map files in Chrome, and applying manual source‑map mapping or proxy tools like Charles.

ChromeDebuggingJavaScript
0 likes · 6 min read
Debugging Production Errors with Ajax Interceptor, Source Maps, and Manual Mapping
Test Development Learning Exchange
Test Development Learning Exchange
Jun 14, 2024 · Fundamentals

Using Memray for Python Memory Profiling and Leak Detection

This guide introduces Memray, a powerful Python memory analysis tool, explains how to install it, run command‑line profiling, integrate it into code with the Tracker API, interpret detailed reports, and apply advanced filtering and merging techniques while noting its runtime overhead.

DebuggingPerformancememory profiling
0 likes · 4 min read
Using Memray for Python Memory Profiling and Leak Detection
High Availability Architecture
High Availability Architecture
Jun 11, 2024 · Artificial Intelligence

Tencent News Recommendation Architecture Upgrade: From Legacy Systems to a Scalable AI-Driven Platform

This article details the evolution of Tencent News from a portal‑style content display to a personalized recommendation engine, describing the legacy architecture problems, the design goals, the new modular and scalable architecture, feature platform improvements, debugging tools, and stability measures that together increased availability to 99.99% and cut costs by over 60%.

AIDebuggingfeature platform
0 likes · 28 min read
Tencent News Recommendation Architecture Upgrade: From Legacy Systems to a Scalable AI-Driven Platform
DaTaobao Tech
DaTaobao Tech
May 29, 2024 · Backend Development

Guide to Setting Up a Go Development Environment and Build Workflow

Java developers can quickly establish a Go development environment by installing Homebrew, Go, and the Delve debugger, configuring essential environment variables, choosing an IDE such as GoLand or VS Code, organizing projects with standard cmd/internal layouts, managing dependencies via go.mod, automating builds with a Makefile, and debugging or packaging the resulting binaries.

DebuggingDependency ManagementGo
0 likes · 20 min read
Guide to Setting Up a Go Development Environment and Build Workflow
Open Source Linux
Open Source Linux
May 28, 2024 · Backend Development

How to Diagnose and Fix Common Embedded Development Issues

This guide explains why embedded development seems difficult and provides a systematic approach to reproducing, locating, analyzing, and resolving typical embedded problems—including simulation conditions, log printing, online debugging, version rollback, binary search commenting, register snapshots, stack overflow, and hardware quirks—plus regression testing and experience summary.

DebuggingFirmwareembedded
0 likes · 11 min read
How to Diagnose and Fix Common Embedded Development Issues
Java Architect Essentials
Java Architect Essentials
May 27, 2024 · Backend Development

Why MyBatis‑Plus Fails with LocalDateTime and How to Fix It

An old Java project using MySQL, MyBatis, and an outdated mysql‑connector‑java driver encounters a “Conversion not supported for type java.time.LocalDateTime” error after swapping MyBatis for MyBatis‑Plus; the article walks through reproducing the issue, analyzing MyBatis version changes, upgrading the JDBC driver, and fixing subsequent bugs.

DebuggingJavaLocalDateTime
0 likes · 9 min read
Why MyBatis‑Plus Fails with LocalDateTime and How to Fix It
Liangxu Linux
Liangxu Linux
May 21, 2024 · Fundamentals

Inside a Function Call: Registers, Stack, and Assembly Explained

This article systematically analyzes a function call in an embedded system from four perspectives—assembly code, registers, stack layout, and map files—illustrating how the compiler generates the call, what values each register holds, how the stack is allocated, and how to trace execution using disassembly and memory views.

AssemblyDebuggingregisters
0 likes · 7 min read
Inside a Function Call: Registers, Stack, and Assembly Explained
Sohu Tech Products
Sohu Tech Products
May 21, 2024 · Backend Development

Debugging java.net.spi.InetAddressResolverProvider SPI Failure with OpenTelemetry Java Agent in Spring Boot

The article explains how a custom java.net.spi.InetAddressResolverProvider SPI that works in a regular Spring Boot 3.x JAR fails when the OpenTelemetry Java agent is added because the agent’s JarLoader cannot read the SPI configuration inside the BOOT‑INF layout, and resolves the issue by disabling the agent’s own resolver resource so the custom provider is used.

DebuggingJDK21Java
0 likes · 11 min read
Debugging java.net.spi.InetAddressResolverProvider SPI Failure with OpenTelemetry Java Agent in Spring Boot
Ops Development & AI Practice
Ops Development & AI Practice
May 21, 2024 · Fundamentals

Mastering Call Stacks and Stack Frames: A Deep Dive for Developers

Understanding how call stacks and stack frames work is essential for developers, and this article explains their dynamic, ordered, and local nature, details stack frame structure, walks through a Go code example illustrating function calls and returns, and shows how to leverage runtime utilities for debugging.

DebuggingGo languagecall stack
0 likes · 7 min read
Mastering Call Stacks and Stack Frames: A Deep Dive for Developers
Open Source Linux
Open Source Linux
May 20, 2024 · Cloud Native

How to Debug Kubernetes Pods Without Root Using Ephemeral Containers

This article explains why traditional kubectl exec fails under common Kubernetes security best‑practices and demonstrates how to use kubectl debug to launch temporary containers with shared namespaces, install tools like htop, and explore alternative debugging methods such as kpexec and AI‑assisted Appilot.

DebuggingEphemeral Containerscloud-native
0 likes · 10 min read
How to Debug Kubernetes Pods Without Root Using Ephemeral Containers
ByteDance SYS Tech
ByteDance SYS Tech
May 16, 2024 · Operations

How to Automate Coredump Detection and Debugging in OpenBMC

This article explains how the STE team built an integrated workflow for automatic coredump perception, collection, reporting, and analysis in OpenBMC, covering BMC fundamentals, OpenBMC architecture, pain points, offline debugging with IPK packages, and future automation enhancements.

AutomationBMCDebugging
0 likes · 11 min read
How to Automate Coredump Detection and Debugging in OpenBMC
Java Interview Crash Guide
Java Interview Crash Guide
May 9, 2024 · Backend Development

Why Does FastJSON Invoke isChinaName()? Uncovering Hidden Serialization Pitfalls

A seemingly harmless log addition triggered a cascade of FastJSON serialization calls, leading to a NullPointerException caused by the isChinaName() method, and the article walks through the debugging process, explains the underlying serialization mechanics, and proposes a clean solution using @JSONField(serialize=false).

DebuggingFastjsonJSONField
0 likes · 8 min read
Why Does FastJSON Invoke isChinaName()? Uncovering Hidden Serialization Pitfalls
MaGe Linux Operations
MaGe Linux Operations
May 9, 2024 · Backend Development

Master Nginx Logging: Access Log, Formats, and Debugging Tips

This guide explains how to configure Nginx access logs, define custom log formats, use log file caching, and apply debugging techniques such as IP‑restricted error logging, rewrite rule tracing, and location‑specific logging, with practical examples and command‑line utilities.

Access LogDebuggingLogging
0 likes · 9 min read
Master Nginx Logging: Access Log, Formats, and Debugging Tips
Liangxu Linux
Liangxu Linux
May 6, 2024 · Operations

Master Fast Log Error Detection with Tail, Grep, and Sed Commands

This guide shows how to quickly locate errors in massive log files using Linux commands such as tail, head, grep, and sed, offering multiple techniques—including line‑number extraction, time‑range queries, match counting, colored highlights, and pagination—to streamline debugging and log analysis.

Command LineDebuggingLog analysis
0 likes · 12 min read
Master Fast Log Error Detection with Tail, Grep, and Sed Commands
Su San Talks Tech
Su San Talks Tech
May 5, 2024 · Backend Development

Fixing MyBatis‑Plus Migration Errors: Why LocalDateTime Conversion Fails and How to Resolve It

This article walks through replacing MyBatis with MyBatis‑Plus in a legacy Java project, explains the “Conversion not supported for type java.time.LocalDateTime” error caused by MyBatis 3.5.1 and an outdated mysql‑connector‑java driver, and shows how upgrading the driver resolves the issue while offering debugging tips.

DebuggingJavaMyBatis
0 likes · 16 min read
Fixing MyBatis‑Plus Migration Errors: Why LocalDateTime Conversion Fails and How to Resolve It
macrozheng
macrozheng
Apr 28, 2024 · Backend Development

How to Seamlessly Replace MyBatis with MyBatis-Plus and Fix LocalDateTime Errors

This article walks through migrating an existing MySQL‑based Java project from MyBatis 3.5.x to MyBatis‑Plus 3.1.1, diagnosing the LocalDateTime conversion exception, upgrading mysql‑connector‑java, handling subsequent null‑pointer issues, and learning from a related file‑validation bug to emphasize thorough testing during component upgrades.

Connector-JavaDebuggingJava
0 likes · 9 min read
How to Seamlessly Replace MyBatis with MyBatis-Plus and Fix LocalDateTime Errors
IT Services Circle
IT Services Circle
Apr 23, 2024 · Fundamentals

30+ IntelliJ IDEA Debugging Tips and Tricks to Boost Your Efficiency

This article presents a comprehensive collection of over thirty IntelliJ IDEA debugging features, shortcuts, and advanced techniques—including breakpoint types, conditional breakpoints, remote debugging, and code evaluation—to help Java developers dramatically improve their debugging workflow and productivity.

DebuggingIDE TipsIntelliJ IDEA
0 likes · 15 min read
30+ IntelliJ IDEA Debugging Tips and Tricks to Boost Your Efficiency
Rare Earth Juejin Tech Community
Rare Earth Juejin Tech Community
Apr 23, 2024 · Mobile Development

Perfetto on the Web: Interface Overview, Basic Operations, and Practical Tips for Android Performance Analysis

This article introduces the Perfetto web UI, explains its four main sections, walks through essential navigation shortcuts, and shares practical techniques such as viewing wake‑up sources, critical paths, pinning threads, inspecting CPU info, buffer usage, timeouts, and logs to help Android developers efficiently analyze performance traces.

DebuggingPerfettoSQL
0 likes · 11 min read
Perfetto on the Web: Interface Overview, Basic Operations, and Practical Tips for Android Performance Analysis
iQIYI Technical Product Team
iQIYI Technical Product Team
Apr 19, 2024 · Databases

Root Cause Analysis of Redis Timeout in a Spring Cloud Service Using Lettuce and Netty

A Docker image upgrade reduced Netty EventLoop threads, causing a Pub/Sub listener’s blocking Future.get() to stall one thread, fill a Redis cluster connection’s receive buffer and trigger widespread Redis timeouts in the custom Lettuce cache framework, which were eliminated by increasing I/O threads or making the callback asynchronous.

DebuggingDockerEventLoop
0 likes · 15 min read
Root Cause Analysis of Redis Timeout in a Spring Cloud Service Using Lettuce and Netty
DeWu Technology
DeWu Technology
Apr 15, 2024 · Mobile Development

Debugging Performance Degradation of Android 14 Debug Builds: Root Cause and Workarounds

The severe jank observed in Android 14 debug builds stems from the DEBUG_JAVA_DEBUGGABLE flag triggering DeoptimizeBootImage, which forces boot‑image methods onto the slow switch interpreter; a temporary hook clearing the flag and a permanent fix using UpdateEntrypointsForDebuggable restore performance, with Google planning an official fix in Android 15.

ARTAndroidDebugging
0 likes · 12 min read
Debugging Performance Degradation of Android 14 Debug Builds: Root Cause and Workarounds
JavaEdge
JavaEdge
Apr 9, 2024 · Fundamentals

What’s New in IntelliJ IDEA 2024.1? Full‑Line Completion, Java 22 Support and More

IntelliJ IDEA 2024.1 introduces full‑line code completion powered by a local deep‑learning model, Java 22 language support, a revamped terminal, sticky lines in the editor, enhanced Maven handling, improved debugging, richer Spring assistance, advanced HTTP client features, and new database tools, all aimed at boosting developer productivity and safety.

DebuggingIDE FeaturesIntelliJ IDEA
0 likes · 15 min read
What’s New in IntelliJ IDEA 2024.1? Full‑Line Completion, Java 22 Support and More
Python Programming Learning Circle
Python Programming Learning Circle
Apr 7, 2024 · Fundamentals

Comparative Analysis of VS Code and JetBrains IDEs: Inspection, Refactoring, Debugging, Git Integration, Extensibility, and Collaboration

The article provides a detailed comparison between VS Code and JetBrains IDEs, examining their code inspection, refactoring, debugging, Git integration, extensibility, and collaboration features, and concludes with recommendations based on the author's five‑year development experience.

Code RefactoringDebuggingGit integration
0 likes · 17 min read
Comparative Analysis of VS Code and JetBrains IDEs: Inspection, Refactoring, Debugging, Git Integration, Extensibility, and Collaboration
IT Services Circle
IT Services Circle
Apr 5, 2024 · Backend Development

Understanding Common HTTP Request Error Codes and Debugging Solutions

This article explains the classification of HTTP request error codes, details typical 4xx client and 5xx server errors, provides common causes, and offers practical debugging steps and solutions to efficiently identify and resolve front‑end and back‑end issues.

DebuggingWeb Developmentbackend
0 likes · 17 min read
Understanding Common HTTP Request Error Codes and Debugging Solutions
Tencent Architect
Tencent Architect
Mar 27, 2024 · Operations

Why Does TCP Send RST? Deep Dive into Causes and Debugging Techniques

This article explains the fundamentals of TCP RST packets, distinguishes active and passive resets, outlines common kernel scenarios that generate them, and provides practical debugging methods using tcpdump, bpftrace, and source‑code analysis to resolve real‑world network incidents.

BPFDebuggingRST
0 likes · 20 min read
Why Does TCP Send RST? Deep Dive into Causes and Debugging Techniques
JD Cloud Developers
JD Cloud Developers
Mar 21, 2024 · Backend Development

Why BeanUtils.copyProperties Causes ClassCastException and How to Fix It

A Java backend debugging story explains how using BeanUtils.copyProperties led to a ClassCastException when a HashMap was cast to a custom class, details the investigation steps, shows the problematic code, and presents a manual assignment solution plus recommendations for safer mapping tools.

BeanUtilsClassCastExceptionCopyProperties
0 likes · 4 min read
Why BeanUtils.copyProperties Causes ClassCastException and How to Fix It
php Courses
php Courses
Mar 14, 2024 · Backend Development

Comprehensive Guide to Common PHP Errors and Their Solutions

This comprehensive guide explains the ten most common PHP errors—including ParseError, DivisionByZeroError, TypeError, and UnexpectedValueException—detailing their causes, prevention strategies, and step‑by‑step remediation techniques, while also highlighting best practices and tools such as Zipy for proactive error monitoring.

DebuggingExceptionserror-handling
0 likes · 22 min read
Comprehensive Guide to Common PHP Errors and Their Solutions
Architect's Alchemy Furnace
Architect's Alchemy Furnace
Mar 6, 2024 · Fundamentals

Why Quick Fixes Kill Code Quality and How to Avoid Them

The article warns that relying on quick, superficial bug fixes creates hidden technical debt, explains why deep understanding of code changes matters, and offers practical advice to keep code clean, maintainable, and resilient in complex systems.

DebuggingRefactoringbest practices
0 likes · 6 min read
Why Quick Fixes Kill Code Quality and How to Avoid Them
JD Tech
JD Tech
Mar 6, 2024 · Backend Development

Fixing Incorrect Total Count in PageHelper Pagination Using PageInfo

This article analyzes why the total record count returned by PageHelper mismatches the actual number of rows, examines the underlying PageInfo and PageSerializable source code, and provides a concrete solution that avoids type conversion and directly constructs PageInfo from the mapper result to ensure accurate pagination.

DebuggingJavaMyBatis
0 likes · 7 min read
Fixing Incorrect Total Count in PageHelper Pagination Using PageInfo
Liangxu Linux
Liangxu Linux
Feb 21, 2024 · Cloud Native

Why a Default Kubernetes Setting Can Spike CPU Usage and How to Fix It

A Node.js service migrated to containers began experiencing intermittent timeouts and high CPU usage due to the default enableServiceLinks parameter injecting thousands of environment variables, and the analysis shows how to identify, reproduce, and resolve the issue with Kubernetes configuration and code adjustments.

DebuggingKubernetesNode.js
0 likes · 14 min read
Why a Default Kubernetes Setting Can Spike CPU Usage and How to Fix It
Sohu Tech Products
Sohu Tech Products
Feb 21, 2024 · Fundamentals

Unlocking iOS Debugging: A Deep Dive into DWARF and dSYM

This article explains the DWARF debugging information format, its role in iOS development, how dSYM files store DWARF data, the structure of compilation units and DIEs, key DW_TAG and DW_AT attributes, UUID matching, and practical dwarfdump commands for symbolication.

DWARFDebuggingdSYM
0 likes · 10 min read
Unlocking iOS Debugging: A Deep Dive into DWARF and dSYM
Bilibili Tech
Bilibili Tech
Feb 20, 2024 · Backend Development

Investigation and Optimization of Unexpected AAAA DNS Requests in Go Applications

The article investigates why Go applications unexpectedly send AAAA DNS queries to a secondary nameserver, tracing the issue to the built‑in resolver’s handling of non‑recursive responses from a NetScaler proxy, and recommends using the cgo resolver, enabling recursion, or forcing IPv4 to eliminate the added latency.

DNSDebuggingFailover
0 likes · 14 min read
Investigation and Optimization of Unexpected AAAA DNS Requests in Go Applications
Python Programming Learning Circle
Python Programming Learning Circle
Feb 1, 2024 · Fundamentals

Common Python Syntax and Runtime Errors with Practical Fixes

This guide enumerates frequent Python errors—including syntax, type, value, attribute, file, indentation, index, key, module, name, recursion, and timeout issues—explains why they occur, and provides concise, actionable solutions to help developers quickly diagnose and correct their code.

Debuggingruntime_errorsyntax error
0 likes · 11 min read
Common Python Syntax and Runtime Errors with Practical Fixes
php Courses
php Courses
Jan 24, 2024 · Backend Development

Essential Tools for PHP Developers: IDEs, AI Assistants, Debuggers, and Deployment Solutions

This article presents a curated list of essential tools for PHP developers—including IDEs, AI‑powered assistants, database managers, static analysis utilities, code formatters, container platforms, debuggers, testing frameworks, and deployment automation—to streamline workflows, boost productivity, and improve code quality.

DebuggingIDEPHP
0 likes · 8 min read
Essential Tools for PHP Developers: IDEs, AI Assistants, Debuggers, and Deployment Solutions
Test Development Learning Exchange
Test Development Learning Exchange
Jan 22, 2024 · Fundamentals

10 Essential Python Debugging Tools and Techniques Every Developer Should Know

This article introduces ten practical Python debugging tools and techniques—including breakpoints, print statements, logging, assertions, pdb, traceback, cProfile, timeit, memory_profiler, and pdbpp—providing code examples and explanations to help developers diagnose, trace, and optimize their code effectively.

DebuggingLoggingPerformance
0 likes · 5 min read
10 Essential Python Debugging Tools and Techniques Every Developer Should Know
Liangxu Linux
Liangxu Linux
Jan 17, 2024 · Fundamentals

C volatile Techniques: Multithreading, Embedded, Debugging, Pointer Casting

This article explores advanced applications of the C volatile keyword, demonstrating its role in multithreaded synchronization, embedded hardware register access, disabling compiler optimizations for debugging, and safe pointer type casting, each illustrated with complete, runnable code examples.

C++DebuggingVolatile
0 likes · 7 min read
C volatile Techniques: Multithreading, Embedded, Debugging, Pointer Casting
Rare Earth Juejin Tech Community
Rare Earth Juejin Tech Community
Jan 16, 2024 · Mobile Development

Lessons and Solutions from Three Months of uniapp Multi‑Platform Development

This article shares a three‑month experience of developing and maintaining a uniapp multi‑platform project, detailing challenges such as Android camera crashes, in‑app notifications, iOS side‑swipe back, Xiaomi browser swipe conflicts, background timers, keyboard height detection, and proposes practical solutions and refactoring ideas.

AndroidDebuggingUniApp
0 likes · 15 min read
Lessons and Solutions from Three Months of uniapp Multi‑Platform Development
Test Development Learning Exchange
Test Development Learning Exchange
Jan 14, 2024 · Fundamentals

Using pdb and ipdb Interactive Debuggers in Python

This article introduces Python's interactive debuggers pdb and ipdb, demonstrating how to set breakpoints, step through code, inspect variables, handle exceptions, use conditional breakpoints, and perform remote debugging through concise code examples and command explanations.

DebuggingPDBRemote Debugging
0 likes · 4 min read
Using pdb and ipdb Interactive Debuggers in Python
Tencent Cloud Developer
Tencent Cloud Developer
Jan 11, 2024 · Backend Development

Delve Debugger for Go: Installation, Configuration, and Command Guide

Delve, the primary Go debugger, is installed via its official guide, requires disabling inlining with appropriate gcflags, supports flexible location specifications and rich expressions, offers multiple debugging modes (debug, exec, attach, core), configurable settings, runtime commands, breakpoint types, variable and stack inspection, and integrates seamlessly with Goland.

DebuggingDelveGo
0 likes · 28 min read
Delve Debugger for Go: Installation, Configuration, and Command Guide
Sohu Tech Products
Sohu Tech Products
Jan 10, 2024 · Frontend Development

How to Build, Deploy, and Debug Flutter Web Apps: A Complete Step‑by‑Step Guide

This guide walks Flutter developers through the advantages and drawbacks of Flutter Web, explains three practical use cases, shows how to create a project, run it locally, handle routing and platform‑specific APIs, configure CDN paths for different environments, debug on desktop and mobile, and finally package and deploy the app to production.

CDNDebuggingFlutter
0 likes · 26 min read
How to Build, Deploy, and Debug Flutter Web Apps: A Complete Step‑by‑Step Guide
Liangxu Linux
Liangxu Linux
Jan 8, 2024 · Fundamentals

Master MDK Debugging: A Step‑by‑Step Guide for STM32 Development

This tutorial walks you through downloading the STM32F103C8T6 template project, configuring Keil MDK for simulation, using the debugger’s control buttons and windows, measuring function execution time, and leveraging watch, memory, and peripheral views to efficiently debug embedded code.

DebuggingKeilMDK
0 likes · 14 min read
Master MDK Debugging: A Step‑by‑Step Guide for STM32 Development
Coolpad Technology Team
Coolpad Technology Team
Jan 4, 2024 · Fundamentals

Debugging OpenHarmony System Ability Management and Pasteboard Service Freeze on the T606 Platform

The article investigates a freeze occurring when dragging icons on an OpenHarmony 3.2.2 device after adapting the Spreadtrum T606 platform, analyzes related system‑ability (SA) logs, explains the SA and SAFWK frameworks, traces the PasteboardService failure to a missing serial‑number configuration, and proposes a practical fix.

DebuggingOpenHarmonyPasteboardService
0 likes · 14 min read
Debugging OpenHarmony System Ability Management and Pasteboard Service Freeze on the T606 Platform
Tencent Cloud Developer
Tencent Cloud Developer
Jan 3, 2024 · Backend Development

Exception Handling: Requirements, Modeling, and Best Practices in Backend Development

The article outlines backend exception‑handling best practices, detailing business requirements such as memory‑safe multithreaded throws, clear separation of concerns, framework fallback strategies, simple macro‑based APIs, unified error‑code monitoring, rich debugging information, extensible type‑erased models, and appropriate handling of critical, recoverable, and checked exceptions across development and production environments.

C++DebuggingFramework Design
0 likes · 28 min read
Exception Handling: Requirements, Modeling, and Best Practices in Backend Development
Python Programming Learning Circle
Python Programming Learning Circle
Jan 2, 2024 · Fundamentals

Common Bad Practices in Python and How to Avoid Them

This article highlights several typical Python pitfalls—including mutable default arguments, improper file handling, catching overly broad exceptions, misunderstanding the for‑else construct, and inefficient dictionary iteration—and provides clearer, more reliable alternatives for each case.

DebuggingExceptionsbest practices
0 likes · 5 min read
Common Bad Practices in Python and How to Avoid Them
Architect
Architect
Dec 31, 2023 · Industry Insights

How Mooncake Automated API Documentation and Built a Metadata Hub

The article details how the Mooncake platform tackled outdated, manually‑maintained API docs by introducing naming conventions, a one‑click IntelliJ plugin, GitLab MR auto‑parsing, and a metadata center that supports debugging, mocking, and downstream consumption, saving developers hundreds of hours per release.

API documentationAutomationDebugging
0 likes · 18 min read
How Mooncake Automated API Documentation and Built a Metadata Hub
Code Ape Tech Column
Code Ape Tech Column
Dec 27, 2023 · Backend Development

Advanced Debugging Techniques in IntelliJ IDEA: Log, Field, Exception, and Method Breakpoints

This article introduces four powerful IntelliJ IDEA debugging techniques—adding log statements at breakpoints, using field breakpoints, configuring exception breakpoints, and setting method breakpoints—to help developers efficiently trace code execution and inspect variables without cluttering the source.

DebuggingIDE TipsIntelliJ IDEA
0 likes · 6 min read
Advanced Debugging Techniques in IntelliJ IDEA: Log, Field, Exception, and Method Breakpoints
CSS Magic
CSS Magic
Dec 26, 2023 · Backend Development

Capturing Node.js HTTPS Requests with Charles: A Step‑by‑Step Guide

The article walks through the author's investigation of why a Node.js CLI tool using Got fails to route HTTPS requests through Charles, compares direct proxy versus reverse‑proxy strategies, and provides a step‑by‑step implementation using https‑proxy‑agent and Got with certificate verification disabled, enabling successful request capture.

CharlesDebuggingGoT
0 likes · 6 min read
Capturing Node.js HTTPS Requests with Charles: A Step‑by‑Step Guide
vivo Internet Technology
vivo Internet Technology
Dec 20, 2023 · Information Security

Frontend Interface Encryption, JavaScript Obfuscation, and Anti‑Debugging Techniques

The article explains how frontend interface encryption, JavaScript compression, obfuscation, and WebAssembly‑based encryption—combined with signature verification and anti‑debugging tricks such as DevTools detection and infinite debugger loops—can raise the cost of reverse‑engineering client‑side logic, though determined attackers may still eventually break the protection.

DebuggingObfuscationfrontend
0 likes · 19 min read
Frontend Interface Encryption, JavaScript Obfuscation, and Anti‑Debugging Techniques
Deepin Linux
Deepin Linux
Dec 19, 2023 · Backend Development

C++ Backend Interview: Web Server Basics, Concurrency, Epoll, and Networking Concepts

This article presents a comprehensive overview of C++ backend interview topics, covering web server fundamentals, concurrency models, thread pool sizing, epoll integration, I/O multiplexing, HTTP methods, TCP connection handling, debugging techniques, and related networking concepts essential for backend development.

C++DebuggingNetworking
0 likes · 27 min read
C++ Backend Interview: Web Server Basics, Concurrency, Epoll, and Networking Concepts
Python Programming Learning Circle
Python Programming Learning Circle
Dec 19, 2023 · Fundamentals

Common Python Errors and How to Fix Them

This article explains the most frequent Python runtime and syntax errors—including IndentationError, TabError, SyntaxError, NameError, IndexError, KeyError, TypeError, and AttributeError—provides clear descriptions of their causes, and offers corrected code examples to help beginners debug their programs effectively.

Debuggingerrors
0 likes · 7 min read
Common Python Errors and How to Fix Them
FunTester
FunTester
Dec 19, 2023 · Backend Development

How to Resolve IntelliJ 2023.3 Groovyc ClassNotFoundError After JDK 21 Upgrade

After upgrading to IntelliJ 2023.3 for better JDK 21 virtual‑thread support, users encounter a Groovyc ClassNotFoundError caused by missing IntelliJ internal classes, and the article outlines the affected builds and three practical work‑arounds, including a JVM option to run Groovyc in‑process.

Build ProcessDebuggingGroovy
0 likes · 4 min read
How to Resolve IntelliJ 2023.3 Groovyc ClassNotFoundError After JDK 21 Upgrade
Rare Earth Juejin Tech Community
Rare Earth Juejin Tech Community
Dec 16, 2023 · Frontend Development

Common Frontend Issues and Solutions for Mobile Browsers

This article compiles a series of practical solutions for frequent frontend problems on mobile devices, covering CSS position‑sticky failures, locale‑dependent date formatting, multiline ellipsis glitches, React useEffect height bugs, dual scrollbar conflicts, iPhone 6 scrolling issues, Android WebView reload quirks, request‑parameter encoding, and iOS 17 input focus jitter.

Debuggingmobile
0 likes · 8 min read
Common Frontend Issues and Solutions for Mobile Browsers
Python Programming Learning Circle
Python Programming Learning Circle
Dec 12, 2023 · Fundamentals

Common Beginner Mistakes in Python and How to Fix Them

This article enumerates seventeen typical errors that new Python programmers encounter—such as missing colons, wrong indentation, misuse of operators, and incorrect variable names—and provides clear explanations and corrective examples to help readers avoid and resolve these pitfalls.

Debuggingbeginnerscommon-errors
0 likes · 6 min read
Common Beginner Mistakes in Python and How to Fix Them
Test Development Learning Exchange
Test Development Learning Exchange
Dec 12, 2023 · Fundamentals

Advanced Python Debugging and Performance Optimization Techniques

This article presents several advanced Python debugging and performance optimization techniques—including using assert statements, interactive pdb debugging, cProfile profiling, generator expressions, dictionary/set lookups, appropriate data structures, and functools.lru_cache caching—to help developers write more efficient and reliable code.

DebuggingPerformance OptimizationPython
0 likes · 5 min read
Advanced Python Debugging and Performance Optimization Techniques
NetEase Cloud Music Tech Team
NetEase Cloud Music Tech Team
Dec 12, 2023 · Artificial Intelligence

How LangChain Powers AI Agents: Principles, Debugging, and Real‑World Optimizations

This article explains the concept of AI Agents in the large‑language‑model era, details LangChain's implementation mechanics, shares practical challenges and optimizations encountered by NetEase Cloud Music, and provides step‑by‑step code examples and performance insights for building robust AI Agents.

AI AgentDebuggingLLM
0 likes · 20 min read
How LangChain Powers AI Agents: Principles, Debugging, and Real‑World Optimizations