Tagged articles

debugging

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

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

ANRAndroidMobile Development
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.

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

LinuxPerf EventsScheduling
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.

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

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

Development EnvironmentIDEbuild automation
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.

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

JavaMyBatisVersion Compatibility
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.

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

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

Go languagecall stackdebugging
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.

Ephemeral Containerscloud-nativedebugging
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.

BMCOpenBMCautomation
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).

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

Linuxcommand-linedebugging
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.

JavaMyBatisMySQL
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-JavaJavaORM
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.

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

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

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

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

IDE FeaturesIntelliJ IDEAJava
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 RefactoringDeveloper ToolsGit integration
0 likes · 17 min read
Comparative Analysis of VS Code and JetBrains IDEs: Inspection, Refactoring, Debugging, Git Integration, Extensibility, and Collaboration
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.

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

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

Best Practicescode qualitydebugging
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.

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

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

DWARFUUIDdSYM
0 likes · 10 min read
Unlocking iOS Debugging: A Deep Dive into DWARF and dSYM
Java Architect Essentials
Java Architect Essentials
Feb 20, 2024 · Backend Development

Why Did Our API Hang? Uncovering Redis Connection Pool Blocking in Spring Boot

A week‑long API freeze in a sandbox environment was traced to Redis connection pool misconfiguration, where threads waited indefinitely for a Jedis resource, leading to Tomcat request threads blocking and 500 errors, and the issue was resolved by adjusting pool settings and using proper connection release patterns.

Connection PoolJavaJedis
0 likes · 9 min read
Why Did Our API Hang? Uncovering Redis Connection Pool Blocking in Spring Boot
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.

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

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

LoggingPerformanceProfiling
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++debuggingpointer casting
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.

Androidcross‑platformdebugging
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.

PdbRemote Debuggingdebugging
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.

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

CDNCross‑PlatformDeployment
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.

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

EmbeddedOpenHarmonyPasteboardService
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++Monitoringdebugging
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.

Best PracticesExceptionscode quality
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 documentationGitLab CIIntelliJ Plugin
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.

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

CharlesGoTHTTPS proxy
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.

FrontendObfuscationdebugging
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++Web Serverdebugging
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 ProcessGroovyIntelliJ
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.

beginnerscommon-errorsdebugging
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.

ProfilingPythonassertions
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 AgentLLMLangChain
0 likes · 20 min read
How LangChain Powers AI Agents: Principles, Debugging, and Real‑World Optimizations
Alibaba Cloud Developer
Alibaba Cloud Developer
Dec 12, 2023 · Backend Development

Why GCC’s Loop Vectorization Crashed My Code and How to Fix It

A client‑reported segmentation fault was traced to changing GCC’s optimization level from -O2 to -O3, revealing a bug in the -ftree-loop-vectorize option that miscalculates struct sizes, and the article explains the analysis, assembly inspection, NEON details, and a practical workaround.

AssemblyNEONOptimization
0 likes · 28 min read
Why GCC’s Loop Vectorization Crashed My Code and How to Fix It
Deepin Linux
Deepin Linux
Dec 11, 2023 · Fundamentals

Embedded Systems Interview Guide: Linux Thread Scheduling, STM32 Configuration, Synchronization, and Debugging

This article provides a comprehensive interview guide for embedded system positions, covering Linux thread scheduling, single‑core CPU execution, STM32 chip specifications, SPI communication, DMA, synchronization primitives, priority inversion solutions, debugging techniques, and memory layout fundamentals.

LinuxSTM32debugging
0 likes · 26 min read
Embedded Systems Interview Guide: Linux Thread Scheduling, STM32 Configuration, Synchronization, and Debugging
Programmer DD
Programmer DD
Dec 11, 2023 · Backend Development

What’s New in IntelliJ IDEA 2023.3? Java 21 Support and AI Assistant Update

JetBrains' IntelliJ IDEA 2023.3 release brings full Java 21 support, a new Run‑to‑Cursor debugging option, floating editing toolbars, color‑coded editor tabs, refreshed macOS icons, enhanced Speed Search shortcuts, and integrates Lets‑Plot for no‑code data visualization, though the AI Assistant remains unavailable in mainland China.

Data VisualizationIDE FeaturesIntelliJ IDEA
0 likes · 5 min read
What’s New in IntelliJ IDEA 2023.3? Java 21 Support and AI Assistant Update
Liangxu Linux
Liangxu Linux
Dec 9, 2023 · Fundamentals

Why Adding a printf Can “Bless” a Crashing C Program

A humorous tale reveals how an uninitialized stack variable caused a segmentation fault in C, how inserting a printf unintentionally altered memory to hide the bug, and why proper debugging with GDB is essential to understand such hidden issues.

C++debuggingprintf side effect
0 likes · 9 min read
Why Adding a printf Can “Bless” a Crashing C Program
php Courses
php Courses
Dec 6, 2023 · Backend Development

Common PHP Debugging Techniques and Best Practices

This article introduces essential PHP debugging methods—including enabling error reporting, logging, breakpoints with Xdebug, try‑catch exception handling, and using var_dump/print_r—providing practical code examples to help developers efficiently locate and fix errors.

LoggingXdebugdebugging
0 likes · 5 min read
Common PHP Debugging Techniques and Best Practices
FunTester
FunTester
Dec 6, 2023 · Backend Development

Groovy Script setLength Error with StringBuilder and How to Work Around It

The article describes a Groovy scripting issue where calling StringBuilder.setLength(0) triggers a NoSuchMethodError, explains Groovy's automatic property generation, demonstrates debugging steps, metaprogramming attempts, and the final workaround that resolves the error.

GroovyJavaMetaprogramming
0 likes · 6 min read
Groovy Script setLength Error with StringBuilder and How to Work Around It
37 Interactive Technology Team
37 Interactive Technology Team
Dec 4, 2023 · Backend Development

Root Cause Analysis of Missing Trace Data in Go Services Using Prometheus Metrics and GZIP Compression

The missing trace data in two Go services was caused by the GoFrame tracing middleware recording the gzip‑compressed /metrics response body as a UTF‑8 string, which the OpenTelemetry exporter rejected as invalid UTF‑8; disabling Prometheus compression or decompressing the body before logging resolves the issue.

ObservabilityOpenTelemetryPrometheus
0 likes · 16 min read
Root Cause Analysis of Missing Trace Data in Go Services Using Prometheus Metrics and GZIP Compression
Didi Tech
Didi Tech
Nov 21, 2023 · Databases

Investigation and Root Cause Analysis of a Redis Memory Leak in Production

An in‑depth, timeline‑driven investigation of a production Redis memory leak revealed that the custom 3.2.8 build’s getKeysInSlot function failed to free a temporary key‑array after traversing the radix‑tree, causing hundreds of megabytes of leaked SDS strings, which was fixed by adding a single free call and highlighted the need for functional code reviews and early leak detection.

LinuxPerformanceRedis
0 likes · 10 min read
Investigation and Root Cause Analysis of a Redis Memory Leak in Production
Rare Earth Juejin Tech Community
Rare Earth Juejin Tech Community
Nov 18, 2023 · Frontend Development

Introducing PageSpy: An Open‑Source Frontend Remote Debugging Tool

PageSpy is an open‑source frontend remote‑debugging platform that wraps native browser APIs, captures runtime parameters, and provides a console‑like UI for developers to view client information, console output, network requests, and execute JavaScript remotely, dramatically reducing cross‑region debugging effort.

PageSpyRemote DebuggingWeb Development
0 likes · 7 min read
Introducing PageSpy: An Open‑Source Frontend Remote Debugging Tool
php Courses
php Courses
Nov 16, 2023 · Backend Development

PHP Error Handling and Debugging Techniques

This guide explains how PHP developers can enable comprehensive error reporting, handle exceptions with try‑catch blocks, log errors using error_log, and employ debugging techniques such as breakpoints, print_r, var_dump, and debug_backtrace to efficiently locate and fix code issues.

ExceptionLoggingPHP
0 likes · 6 min read
PHP Error Handling and Debugging Techniques
php Courses
php Courses
Nov 10, 2023 · Backend Development

Effective PHP Debugging: Xdebug, PHPDBG, and Blackfire

This article introduces three powerful PHP debugging and profiling tools—Xdebug, PHPDBG, and Blackfire—explaining their features, configuration steps, and providing concrete code examples to help developers efficiently locate and fix issues while improving performance.

BlackfirePHPPHPDBG
0 likes · 4 min read
Effective PHP Debugging: Xdebug, PHPDBG, and Blackfire
Didi Tech
Didi Tech
Nov 7, 2023 · Mobile Development

Root Cause Analysis and Resolution of Periodic Crashes Caused by File Handle Leak in Didi Android Delivery Merchant App

The Didi Android delivery merchant app suffered periodic crashes on Huawei devices because a null‑checked fopen in libpush.so caused an unchecked fwrite, leaking file handles until the per‑process limit was reached, and the issue was resolved by adding proper null checks, closing handles, and instituting systematic FD‑leak monitoring and code‑review safeguards.

AndroidHandle LeakNative Library
0 likes · 13 min read
Root Cause Analysis and Resolution of Periodic Crashes Caused by File Handle Leak in Didi Android Delivery Merchant App
Alibaba Cloud Developer
Alibaba Cloud Developer
Nov 6, 2023 · Fundamentals

Boost Your Productivity: Advanced IDEA Debugging Techniques You Need

This guide reveals a collection of often‑overlooked IntelliJ IDEA debugging tricks—such as non‑pausing breakpoints, quick expression evaluation, time‑travel debugging, selective loop inspection, variable assignment tracing, method implementation locating, run‑to‑cursor, and exception breakpoints—to dramatically improve development efficiency.

IDEAdebuggingdevelopment
0 likes · 5 min read
Boost Your Productivity: Advanced IDEA Debugging Techniques You Need
OPPO Kernel Craftsman
OPPO Kernel Craftsman
Nov 3, 2023 · Mobile Development

Android Logging System Analysis: Architecture, Implementation, and Log Loss Cases

The article dissects Android’s logging system, detailing Java, native, and kernel interfaces, the liblog and logd daemon architecture, logcat usage, common log‑loss scenarios such as socket failures and buffer overflows, and the significant CPU, memory, I/O, and power resources the system consumes.

AndroidMobile DevelopmentSystem Internals
0 likes · 15 min read
Android Logging System Analysis: Architecture, Implementation, and Log Loss Cases