Tagged articles

debugging

1053 articles · Page 10 of 11
Java Backend Technology
Java Backend Technology
May 11, 2019 · Fundamentals

Why Bugs Are Inevitable and How to Find Them Faster

The article explores what a bug really is, why bugs inevitably appear in software development, and offers practical strategies—such as effective logging, leveraging debugging tools, and keeping iteration sizes small—to locate and resolve bugs more quickly.

Software Developmentbest practicesbug
0 likes · 13 min read
Why Bugs Are Inevitable and How to Find Them Faster
Xianyu Technology
Xianyu Technology
May 9, 2019 · Mobile Development

Investigation and Resolution of a Ghost Crash in Xianyu's Flutter Infrastructure

After a 2018 Flutter upgrade caused a mysterious “Ghost Crash” in Xianyu’s app, engineers traced an over‑released NSMutableArray in the accessibility bridge, fixed an illegal dealloc call, added proper checks for iOS Speak Screen, and eliminated the crash through a rapid gray‑scale rollout.

accessibilitycrash analysisdebugging
0 likes · 13 min read
Investigation and Resolution of a Ghost Crash in Xianyu's Flutter Infrastructure
Senior Brother's Insights
Senior Brother's Insights
May 3, 2019 · Backend Development

How Spring Boot Detects the Main Application Class Using StackTrace

Spring Boot determines the main application class by creating a RuntimeException, inspecting its stack trace for a method named 'main', and loading the corresponding class via Class.forName, a process illustrated with source code and a JUnit test that compares printed stack traces to the thrown exception.

JUnitJavaMainClassDetection
0 likes · 7 min read
How Spring Boot Detects the Main Application Class Using StackTrace
Java Captain
Java Captain
May 2, 2019 · Operations

Essential Linux and JVM Tools for Troubleshooting and Performance Analysis

This article compiles a comprehensive set of Linux commands, JVM utilities, and Java debugging tools—including tail, grep, awk, find, tsar, btrace, greys, JProfiler, jps, jstack, jmap, jstat, and IntelliJ plugins—to help engineers quickly diagnose, monitor, and resolve production issues while optimizing performance.

JVMLinuxTroubleshooting
0 likes · 13 min read
Essential Linux and JVM Tools for Troubleshooting and Performance Analysis
360 Tech Engineering
360 Tech Engineering
Apr 25, 2019 · Mobile Development

Using Xcode Breakpoints for Effective iOS Debugging

This article explains how iOS developers can use Xcode's breakpoint features—including basic toggles, conditional breakpoints, ignore counts, actions like LLDB commands and log messages, exception breakpoints, and symbolic breakpoints—to pause execution, inspect state, and streamline debugging workflows.

LLDBMobile DevelopmentXcode
0 likes · 6 min read
Using Xcode Breakpoints for Effective iOS Debugging
360 Tech Engineering
360 Tech Engineering
Apr 25, 2019 · Mobile Development

Using Xcode’s Static Analyzer to Detect Localization, Logic, Memory, Data, and Syntax Issues in iOS Projects

This article explains how Xcode’s static analysis feature can automatically identify common iOS development problems—including localization warnings, logical errors, memory leaks, dead stores, and syntax mistakes—by analyzing code without execution, and shows how to resolve each type of issue.

Static AnalyzerXcodedebugging
0 likes · 5 min read
Using Xcode’s Static Analyzer to Detect Localization, Logic, Memory, Data, and Syntax Issues in iOS Projects
Meitu Technology
Meitu Technology
Apr 22, 2019 · Mobile Development

MTHawkeye: iOS Debugging and Performance Optimization Toolkit

MTHawkeye is Meitu’s iOS debugging and performance‑optimization toolkit that provides a three‑layer architecture—foundation, UI foundation, and plugin layers—to assist developers across development, testing, and production by offering memory leak detection, main‑thread profiling, CPU, network, graphics, storage monitoring, and integrated FLEX utilities.

APMMemory Leak DetectionPerformance Optimization
0 likes · 8 min read
MTHawkeye: iOS Debugging and Performance Optimization Toolkit
360 Tech Engineering
360 Tech Engineering
Apr 17, 2019 · Mobile Development

Using Breakpoints in Xcode for iOS Development

This article explains how iOS developers can create, configure, and use Xcode breakpoints—including basic, conditional, ignore, action, options, exception, and symbolic breakpoints—to pause execution, inspect state, and streamline debugging with detailed examples and screenshots.

Mobile DevelopmentXcodebreakpoint
0 likes · 6 min read
Using Breakpoints in Xcode for iOS Development
360 Tech Engineering
360 Tech Engineering
Apr 11, 2019 · Mobile Development

Using Xcode’s Static Analyzer to Detect Localization, Logic, Memory, Data, and Syntax Issues in iOS Development

This article explains how Xcode’s static analysis feature can automatically identify text localization problems, logic errors, memory management concerns, dead‑store data issues, and syntax mistakes in iOS projects, and provides step‑by‑step instructions and code examples for fixing each type of warning.

Logic ErrorsStatic AnalyzerXcode
0 likes · 5 min read
Using Xcode’s Static Analyzer to Detect Localization, Logic, Memory, Data, and Syntax Issues in iOS Development
Tencent Music Tech Team
Tencent Music Tech Team
Mar 22, 2019 · Frontend Development

How to Build a Frontend User‑Behavior Tracing System for Debugging External Network Issues

This article analyzes the challenges of reproducing external‑network bugs, outlines common failure causes, and presents a complete design for a JavaScript SDK that records environment data, AJAX calls, errors, and user actions, stores them in IndexedDB, and visualizes the timeline for efficient troubleshooting.

IndexedDBJavaScriptUser Behavior Tracking
0 likes · 15 min read
How to Build a Frontend User‑Behavior Tracing System for Debugging External Network Issues
360 Quality & Efficiency
360 Quality & Efficiency
Mar 19, 2019 · Mobile Development

Retrieving and Analyzing Android Logs for Bug Diagnosis

This article explains how to capture Android device logs using adb commands, export them, combine with monkey testing, and then analyze logcat output—including ring buffers, priority levels, and common crash or ANR patterns—to efficiently locate and resolve issues.

ANRcrash analysisdebugging
0 likes · 6 min read
Retrieving and Analyzing Android Logs for Bug Diagnosis
Efficient Ops
Efficient Ops
Mar 10, 2019 · Operations

Essential Linux and Java Debugging Tools for Rapid Issue Diagnosis

This guide compiles a practical toolbox of Linux commands and Java utilities—including tail, grep, awk, find, tsar, jstack, jmap, jstat, btrace, Greys, JProfiler, and RateLimiter—to help engineers quickly locate, analyze, and resolve performance and stability problems in production environments.

debuggingmonitoringtools
0 likes · 12 min read
Essential Linux and Java Debugging Tools for Rapid Issue Diagnosis
MaGe Linux Operations
MaGe Linux Operations
Mar 9, 2019 · Fundamentals

Unlock Hidden Python Tricks: Variable Arguments, Glob, Debugging, UUID, Serialization & More

This article reveals several lesser‑known Python features—including functions that accept arbitrary arguments, powerful file searching with glob, debugging with inspect, generating unique IDs via uuid, data serialization, string compression, and registering shutdown hooks—providing practical code examples for each.

CompressionUUIDatexit
0 likes · 5 min read
Unlock Hidden Python Tricks: Variable Arguments, Glob, Debugging, UUID, Serialization & More
ITPUB
ITPUB
Feb 9, 2019 · Backend Development

Why Java’s replaceFirst Slowed My Middleware to 10‑Second SQL Delays

A detailed post walks through a mysterious 10‑second timeout on fast primary‑key SQLs in a sharding middleware, showing how log analysis, thread blocking, and an inefficient string‑replacement implementation caused the slowdown and how refactoring to StringBuilder restored performance.

BackendStringBuilderdebugging
0 likes · 11 min read
Why Java’s replaceFirst Slowed My Middleware to 10‑Second SQL Delays
NetEase Game Operations Platform
NetEase Game Operations Platform
Jan 30, 2019 · Operations

Effective Python Debugging Techniques: Print, Logging, IDE Debuggers, GDB, Perf, Strace, and Inject Debugger

This article explores practical Python debugging methods—from simple print statements and structured logging to powerful IDE debuggers, GDB, perf, strace, and the inject debugger pylane—providing code examples, best‑practice guidelines, and tips for improving observability and performance in production systems.

debugginginject-debuggerlogging
0 likes · 20 min read
Effective Python Debugging Techniques: Print, Logging, IDE Debuggers, GDB, Perf, Strace, and Inject Debugger
21CTO
21CTO
Jan 25, 2019 · Fundamentals

Boost Your Tech Skills by Leveraging Cognition and Human Nature

This article explores how understanding human nature and sharpening cognition can dramatically improve developers' technical abilities, offering practical examples ranging from technology selection and debugging to interviews, code reuse, and open‑source strategy.

CognitionSoftware Developmentcareer development
0 likes · 21 min read
Boost Your Tech Skills by Leveraging Cognition and Human Nature
MaGe Linux Operations
MaGe Linux Operations
Jan 17, 2019 · Operations

Master Bash Scripting: Essential Safety, Functions, and Debugging Tips

This guide presents practical Bash scripting techniques—including safety flags, function definitions, variable annotations, modern command substitution, double‑bracket tests, string manipulation, process substitution, built‑in variables, and debugging methods—to help you write robust, maintainable shell scripts.

bashdebuggingscript safety
0 likes · 11 min read
Master Bash Scripting: Essential Safety, Functions, and Debugging Tips
UC Tech Team
UC Tech Team
Dec 28, 2018 · Frontend Development

Using Chrome DevTools Console Shortcuts: $, $$, $_, and $i

This article introduces Chrome DevTools console shortcuts—including $0‑$4 for element references, $ and $$ for query selectors, $_ for the last expression result, and $i for importing npm libraries—explaining their usage to streamline front‑end debugging and testing.

Chrome DevToolsJavaScriptconsole
0 likes · 3 min read
Using Chrome DevTools Console Shortcuts: $, $$, $_, and $i
UC Tech Team
UC Tech Team
Dec 26, 2018 · Frontend Development

Reflections on the Design, Implementation, and Future of React Hooks

The article provides a comprehensive analysis of React Hooks, covering their injection model, persistent call ordering, debugging and testing strategies, API design considerations such as useReducer, Context Provider, useEffect, missing APIs, type handling, compilation optimizations, safety concerns, and the overall motivation behind moving from class components to hooks.

API DesignHooksReact
0 likes · 21 min read
Reflections on the Design, Implementation, and Future of React Hooks
JD Retail Technology
JD Retail Technology
Dec 24, 2018 · Mobile Development

JDFlutter: JD's Cross-Platform Mobile Development Framework Based on Flutter

This article introduces JDFlutter, JD's cross-platform mobile development framework built on Flutter, detailing its architecture, integration with existing Android/iOS projects, debugging capabilities, data statistics, exception monitoring, degradation mechanisms, and future outlook as part of JD's dual-engine ARES platform.

Data StatisticsFlutterJDFlutter
0 likes · 11 min read
JDFlutter: JD's Cross-Platform Mobile Development Framework Based on Flutter
ITPUB
ITPUB
Dec 21, 2018 · Databases

Why Misplaced Double Quotes Turn MySQL UPDATE Results into Zero

A developer ran a series of UPDATE statements that appeared correct, but due to misplaced double‑quotation marks the WHERE clause was parsed incorrectly, causing every row's column to be set to 0; the article explains MySQL's expression evaluation, shows binlog analysis, and offers practical debugging tips.

MySQLSQLUpdate
0 likes · 7 min read
Why Misplaced Double Quotes Turn MySQL UPDATE Results into Zero
MaGe Linux Operations
MaGe Linux Operations
Dec 6, 2018 · Fundamentals

Boost Python Readability with the Powerful PrettyPrinter Library

This article introduces Python's PrettyPrinter package, explains why native printing tools fall short, and demonstrates its advanced layout algorithm, syntax‑highlighting, and simple descriptive API for custom pretty‑printing, complete with usage examples and visual screenshots.

code-formattingdebuggingpretty printing
0 likes · 8 min read
Boost Python Readability with the Powerful PrettyPrinter Library
Node Underground
Node Underground
Dec 5, 2018 · Frontend Development

Unlock Powerful Debugging: Master Advanced console Methods in JavaScript

This article explores the full range of browser console functions—including formatted logging, object inspection, warnings, tables, assertions, counters, timing, tracing, and grouping—to help JavaScript developers debug more efficiently and gain deeper insight into their code.

browserconsoledebugging
0 likes · 11 min read
Unlock Powerful Debugging: Master Advanced console Methods in JavaScript
JD Tech
JD Tech
Nov 15, 2018 · Mobile Development

Introducing JDFlutter: A New Cross‑Platform Development Framework for JD.com

JDFlutter is JD.com’s next‑generation cross‑platform framework that integrates Flutter into existing Android/iOS projects, offering a rich UI component library, native API bridges, debugging tools, data statistics, and a roadmap for future multi‑engine development alongside JDReact.

FlutterJDFlutterMobile Development
0 likes · 12 min read
Introducing JDFlutter: A New Cross‑Platform Development Framework for JD.com
JD Tech Talk
JD Tech Talk
Nov 7, 2018 · Backend Development

Diagnosing Full GC and Memory Leak Issues in a Java Backend Application

This article details a step‑by‑step investigation of frequent full GC events and high CPU usage in a Java backend service, covering memory analysis with SGM, heap dumps, identification of large Base64 image strings, static encryption utilities, and remediation actions such as heap size increase and custom encryption handling.

CPUFull GCJVM
0 likes · 7 min read
Diagnosing Full GC and Memory Leak Issues in a Java Backend Application
Java Captain
Java Captain
Oct 10, 2018 · Operations

Linux Command Cheatsheet and Java Diagnostic Tools for System Operations

This article compiles essential Linux commands and a suite of Java diagnostic utilities—including tail, grep, awk, find, tsar, btrace, Greys, JProfiler, and others—providing concise examples and code snippets to help engineers troubleshoot and monitor production systems efficiently.

JavaLinuxdebugging
0 likes · 13 min read
Linux Command Cheatsheet and Java Diagnostic Tools for System Operations
21CTO
21CTO
Sep 24, 2018 · Frontend Development

Master Chrome Console: Essential Debugging Techniques and Commands

This guide walks through Chrome's console features—including basic output methods, formatted and styled logs, DOM and object inspection, grouped messages, performance profiling, timing, assertions, and useful shortcuts—providing practical examples and tips for effective front‑end debugging.

Chromeconsoledebugging
0 likes · 9 min read
Master Chrome Console: Essential Debugging Techniques and Commands
360 Quality & Efficiency
360 Quality & Efficiency
Sep 21, 2018 · Mobile Development

Common ADB Commands and Troubleshooting Guide for Android Development

This article provides a comprehensive overview of frequently used Android Debug Bridge (ADB) commands, explains how to troubleshoot common connection and permission issues, and demonstrates how to manage apps, files, system information, and device operations directly from the command line.

ADBAndroidMobile Development
0 likes · 8 min read
Common ADB Commands and Troubleshooting Guide for Android Development
UC Tech Team
UC Tech Team
Sep 19, 2018 · Frontend Development

Using the React Profiler Plugin in React DevTools

This article explains how to enable and use the React Profiler plugin in React DevTools to record, visualize, and analyze component rendering performance through commits, flamegraphs, sorting charts, component charts, and interactions, and provides troubleshooting tips for common issues.

DevToolsReactdebugging
0 likes · 8 min read
Using the React Profiler Plugin in React DevTools
ITPUB
ITPUB
Sep 13, 2018 · Fundamentals

8 Essential Shell Script Best Practices Every Developer Should Follow

This guide presents eight practical recommendations for writing robust Bash scripts, covering shebang selection, debugging flags, static analysis with ShellCheck, variable expansion, proper use of local, signal trapping, thoughtful coding habits, and choosing the right tool for the job.

ShellCheckbashdebugging
0 likes · 10 min read
8 Essential Shell Script Best Practices Every Developer Should Follow
37 Interactive Technology Team
37 Interactive Technology Team
Sep 7, 2018 · Backend Development

Debugging Methods, Object‑Oriented Programming, and Data Operations in Lua/OpenResty

The article teaches Lua developers using OpenResty how to debug with the built‑in debug library and ngx.log, implement object‑oriented patterns via tables and metatables, and perform data operations such as file I/O and cache/database access through lua‑resty‑redis, lua‑resty‑memcached, and lua‑resty‑mysql modules.

OOPdata-iodebugging
0 likes · 5 min read
Debugging Methods, Object‑Oriented Programming, and Data Operations in Lua/OpenResty
Yuewen Frontend Team
Yuewen Frontend Team
Sep 5, 2018 · Frontend Development

Why Push Notifications Fail When Browser Is Closed and How to Fix Them

This article explains why web push notifications stop working when the browser is closed, how Android and desktop browsers handle push messages, how to open added‑to‑desktop web apps in full‑screen, the evolution from GCM to FCM, and provides detailed troubleshooting steps for authorization, payload encryption, connection issues, HTTP status codes, and error reporting.

FCMGCMdebugging
0 likes · 17 min read
Why Push Notifications Fail When Browser Is Closed and How to Fix Them
MaGe Linux Operations
MaGe Linux Operations
Aug 26, 2018 · Fundamentals

What Is Python? 25 Essential Q&A for Beginners

This article provides a comprehensive overview of Python, covering its nature as an interpreted, interactive, object‑oriented language, key benefits, coding conventions, memory management, debugging tools, core concepts like decorators, data structures, namespaces, lambda functions, testing, and many practical programming details for newcomers.

Data StructuresProgramming FundamentalsPython
0 likes · 10 min read
What Is Python? 25 Essential Q&A for Beginners
AutoHome Frontend
AutoHome Frontend
Aug 20, 2018 · Frontend Development

Unlock Hidden Chrome DevTools Tricks to Supercharge Your Debugging

This guide reveals dozens of lesser‑known Chrome DevTools features—from enabling Canary builds and experimental flags to powerful console shortcuts, DOM selectors, conditional breakpoints, network overrides, and Node debugging—helping developers debug faster and more efficiently.

Chrome DevToolsconsoledebugging
0 likes · 13 min read
Unlock Hidden Chrome DevTools Tricks to Supercharge Your Debugging
Tencent Music Tech Team
Tencent Music Tech Team
Aug 17, 2018 · Mobile Development

Investigation and Resolution of Android Audio Playback Noise Issue in HLS Streams

The Android app’s HLS video produced an electric‑like noise because FFmpeg’s av_find_best_stream mistakenly selected the second audio track in a dual‑stream file, a track lacking 1‑8 kHz frequencies, whereas iOS and PC used the correct first track; fixing requires publishing videos with a single audio track and adding detection tools.

AndroidAudio PlaybackAudio Stream Selection
0 likes · 9 min read
Investigation and Resolution of Android Audio Playback Noise Issue in HLS Streams
Architect's Tech Stack
Architect's Tech Stack
Aug 12, 2018 · Backend Development

Investigating MyBatis SqlSession.clearCache() Ineffectiveness and Transaction Isolation Level Solution

Through detailed debugging and source code analysis, the author discovers that MyBatis's SqlSession.clearCache() does clear the first‑level cache, but the observed stale query results are caused by MySQL's default REPEATABLE‑READ isolation level, which can be resolved by setting the transaction isolation to READ COMMITTED.

JavaMyBatisSQL
0 likes · 8 min read
Investigating MyBatis SqlSession.clearCache() Ineffectiveness and Transaction Isolation Level Solution
JD Tech
JD Tech
Jul 20, 2018 · Mobile Development

Comprehensive Guide to Android Debug Bridge (ADB) Commands and Their Practical Uses

This article provides an extensive overview of Android Debug Bridge (ADB), detailing its architecture, core components, and a wide range of commands—including shell am, pm, appops, wm, settings, input, dumpsys, logcat, push/pull, screencap, and screenrecord—illustrated with examples and code snippets for effective mobile testing and automation.

ADBAndroidMobile Development
0 likes · 23 min read
Comprehensive Guide to Android Debug Bridge (ADB) Commands and Their Practical Uses
Meituan Technology Team
Meituan Technology Team
Jul 19, 2018 · Mobile Development

EasyReact: A Reactive Programming Framework for iOS Development

EasyReact is an iOS reactive programming framework that replaces closure‑based data flow with object‑graph nodes, offering visual EZRNode debugging, automatic memory management, and cross‑platform potential while delivering up to 725 % faster performance than ReactiveCocoa, simplifying learning, debugging, and future Swift‑based extensions.

MVVMObjective-C++Reactive Programming
0 likes · 16 min read
EasyReact: A Reactive Programming Framework for iOS Development
MaGe Linux Operations
MaGe Linux Operations
Jul 12, 2018 · Operations

Master Bash Scripting: Safety, Functions, and Best Practices

This article presents a comprehensive guide to writing robust Bash scripts, covering safety options, function definitions, variable annotations, modern syntax like $() and [[ ]], string manipulation techniques, built‑in variables, debugging methods, and recommendations on when to avoid Bash in favor of other languages.

bashdebuggingscript safety
0 likes · 10 min read
Master Bash Scripting: Safety, Functions, and Best Practices
JD Tech
JD Tech
Jun 4, 2018 · Mobile Development

Comprehensive JDReact Development Guide: Project Setup, Environment, Common Pitfalls and Best Practices

This article provides a step‑by‑step tutorial for creating, configuring, and debugging JDReact projects—including project initialization, npm/yarn setup, styling conventions, routing, network requests, animation handling, scroll‑view tricks, H5 conversion issues, and deployment tips—while highlighting frequent Windows compatibility problems and practical solutions.

JDReactMobile DevelopmentStyling
0 likes · 15 min read
Comprehensive JDReact Development Guide: Project Setup, Environment, Common Pitfalls and Best Practices
ITPUB
ITPUB
May 15, 2018 · Fundamentals

Boost Bash Script Reliability: Essential Safety Practices and Advanced Tips

This guide presents practical Bash scripting techniques—including safety flags, function design, variable annotations, modern command substitution, double‑bracket tests, string manipulation, process substitution, debugging tools, and when to avoid Bash—to help you write more robust and maintainable shell scripts.

bashdebuggingscripting
0 likes · 9 min read
Boost Bash Script Reliability: Essential Safety Practices and Advanced Tips
Efficient Ops
Efficient Ops
Apr 28, 2018 · Backend Development

Debug MySQL Source with VS Code and LLDB on macOS – A Complete Guide

Learn how to efficiently debug MySQL source code on macOS using Visual Studio Code and LLDB, covering installation of LLDB via Homebrew, configuring VS Code extensions, setting up local and remote debugging parameters, breakpoint management, and essential command-line steps for seamless development.

LLDBMySQLRemote Debugging
0 likes · 7 min read
Debug MySQL Source with VS Code and LLDB on macOS – A Complete Guide
MaGe Linux Operations
MaGe Linux Operations
Apr 19, 2018 · Operations

Master Bash Scripting: Safety, Functions, and Advanced Tricks

This guide presents essential Bash scripting practices—including safety flags, function definitions, variable annotations, modern command substitution, double‑bracket tests, powerful string manipulation, process substitution, here‑documents, debugging techniques, and advice on when to avoid Bash—in a concise, example‑driven format for reliable shell scripts.

FunctionsString Manipulationbash
0 likes · 8 min read
Master Bash Scripting: Safety, Functions, and Advanced Tricks
Tencent Cloud Developer
Tencent Cloud Developer
Apr 2, 2018 · Frontend Development

Analyzing UI Lag in a PC Client Using Windows Performance Toolkit and UIforETW

The article walks through diagnosing a noticeable UI lag in a PC client’s dial‑pad by capturing ETW traces with Windows Performance Toolkit and UIforETW, revealing that a costly LoadKeyboardLayout call during input‑method switching caused a 0.5‑second delay, and resolves it by filtering the keyboard‑layout state.

ETWUI PerformanceUIforETW
0 likes · 6 min read
Analyzing UI Lag in a PC Client Using Windows Performance Toolkit and UIforETW
JD Tech
JD Tech
Mar 16, 2018 · Frontend Development

JDReact Development Guide for the JD Oil Card Shell Project

This comprehensive guide details the setup, configuration, component customization, routing, context usage, debugging, and deployment processes for building the JD Oil Card Shell application with JDReact, covering both Android and iOS platforms, common pitfalls, and practical code examples.

ContextJDReactReactNative
0 likes · 18 min read
JDReact Development Guide for the JD Oil Card Shell Project
JD Retail Technology
JD Retail Technology
Mar 16, 2018 · Frontend Development

JDReact Development Guide: Project Setup, Build, Debugging, and Common Issues

This article provides a comprehensive step‑by‑step guide for developing the JD oil‑card recharge feature with JDReact, covering project background, environment configuration, branch management, building for Android and iOS, troubleshooting image loading, routing, component customization, network requests, debugging, and release procedures.

BuildProcessJDReactMobileDevelopment
0 likes · 17 min read
JDReact Development Guide: Project Setup, Build, Debugging, and Common Issues
Beike Product & Technology
Beike Product & Technology
Mar 16, 2018 · Backend Development

Investigation of Nginx 502 Errors Caused by Large Response Headers from PHP‑FPM

This article analyzes a recurring Nginx 502 Bad Gateway error triggered by oversized response headers from PHP‑FPM, explores whether fastcgi_buffer_size is the root cause, captures communication data between Nginx and PHP‑FPM, conducts systematic tests with varying buffer sizes, and draws conclusions about header handling and buffer configuration.

502BackendNginx
0 likes · 12 min read
Investigation of Nginx 502 Errors Caused by Large Response Headers from PHP‑FPM
Architecture Digest
Architecture Digest
Mar 12, 2018 · Frontend Development

Top 10 Most Common JavaScript Errors and How to Prevent Them

This article analyzes the ten most frequent JavaScript errors identified from over a thousand projects, explains why each occurs, and offers practical code examples and preventive techniques to help developers avoid these common pitfalls.

JavaScriptdebuggingerror handling
0 likes · 12 min read
Top 10 Most Common JavaScript Errors and How to Prevent Them
MaGe Linux Operations
MaGe Linux Operations
Mar 3, 2018 · Fundamentals

Boost Your Python Development with the Powerful PrettyPrinter Library

PrettyPrinter is a Python 3.6+ library that delivers high‑quality, syntax‑highlighted pretty‑printing by improving on existing tools like __repr__, pprint, pprintpp, and IPython.lib.pretty, offering a simple descriptive API for custom formatting and stateful object representation.

IPythonPythoncode-formatting
0 likes · 7 min read
Boost Your Python Development with the Powerful PrettyPrinter Library
Hujiang Technology
Hujiang Technology
Jan 18, 2018 · Mobile Development

Understanding Network Requests in React Native: APIs, Debugging Techniques, and Binary Data Transfer

This article explains how React Native handles network requests differently from web browsers, describes the built‑in fetch, XMLHttpRequest, and WebSocket APIs, outlines debugging methods using proxies, Reactotron, and Chrome DevTools, and discusses strategies for sending binary data such as Base64 encoding and WebSocket support.

Mobile DevelopmentNetwork RequestsReact Native
0 likes · 10 min read
Understanding Network Requests in React Native: APIs, Debugging Techniques, and Binary Data Transfer
ITPUB
ITPUB
Jan 17, 2018 · Operations

How to Diagnose High CPU Usage in a Linux Gateway Process

This guide walks through a systematic troubleshooting workflow for a Linux gateway that spikes to 891% CPU, using top to locate the offending process, inspecting thread usage, capturing stack traces with gstack, dumping core files, tracing system calls with strace, and analyzing the core dump in gdb to pinpoint the poll() call causing the load.

CPULinuxdebugging
0 likes · 5 min read
How to Diagnose High CPU Usage in a Linux Gateway Process
DevOps
DevOps
Jan 7, 2018 · Fundamentals

Enabling Git Debug Output in PowerShell

When Git commands produce hard‑to‑diagnose errors, you can activate detailed tracing in PowerShell by setting the environment variables GIT_TRACE and GIT_CURL_VERBOSE to 1, which makes Git output extensive operation details to help locate the problem.

GitPowerShelldebugging
0 likes · 2 min read
Enabling Git Debug Output in PowerShell
Tencent IMWeb Frontend Team
Tencent IMWeb Frontend Team
Dec 30, 2017 · Frontend Development

Mastering AJAX Cross‑Domain: From CORS to JSONP and Proxy Solutions

This article thoroughly explains AJAX cross‑domain issues, covering the underlying same‑origin policy, CORS and JSONP mechanisms, common error manifestations, step‑by‑step backend configurations for PHP, Node.js, Java, .NET, and proxy techniques, plus practical debugging methods using Chrome DevTools.

Cross-OriginJSONPProxy
0 likes · 14 min read
Mastering AJAX Cross‑Domain: From CORS to JSONP and Proxy Solutions
MaGe Linux Operations
MaGe Linux Operations
Dec 18, 2017 · Backend Development

How I Traced and Fixed a Python DICOM Server Memory Leak

After deploying a Python server for receiving DICOM medical images, the author encountered severe memory consumption, investigated the leak using tools like gc, objgraph, tracemalloc, and pyrasite, identified a self‑referencing DicomFileLike object with a __del__ method, and resolved the issue by patching the code.

DICOMMemory LeakPython
0 likes · 8 min read
How I Traced and Fixed a Python DICOM Server Memory Leak
dbaplus Community
dbaplus Community
Dec 3, 2017 · Databases

Why MySQL Connector/NET Randomly Fails Authentication and How to Fix It

An intermittent MySQL authentication error on Windows caused by the Connector/NET driver’s slow WMI OS‑info query triggers a server‑side timeout, and the article explains how packet analysis revealed the root cause and how caching or removing the WMI call resolves the issue.

AuthenticationConnector.NETMySQL
0 likes · 7 min read
Why MySQL Connector/NET Randomly Fails Authentication and How to Fix It
MaGe Linux Operations
MaGe Linux Operations
Nov 26, 2017 · Fundamentals

Essential Python Basics: 25 Key Concepts Every Developer Should Know

This article provides a comprehensive overview of Python fundamentals, covering its interpreted nature, interactivity, object‑oriented features, benefits, coding standards like PEP8, serialization with pickle, memory management, debugging tools, decorators, data structures, namespaces, lambda functions, testing, and more.

Data StructuresPicklePython
0 likes · 9 min read
Essential Python Basics: 25 Key Concepts Every Developer Should Know
ITPUB
ITPUB
Oct 11, 2017 · Fundamentals

Top 17 Common Python Errors and How to Fix Them

This guide lists the most frequent Python runtime and syntax errors—such as missing colons, misuse of assignment operators, indentation mistakes, type mismatches, and name errors—explains why they occur, and provides corrected code examples to help beginners debug their programs effectively.

Pythonbeginnersdebugging
0 likes · 9 min read
Top 17 Common Python Errors and How to Fix Them
21CTO
21CTO
Oct 9, 2017 · Frontend Development

Master JavaScript Debugging: Step-by-Step Guide Using Chrome DevTools

Learn how to efficiently locate and fix JavaScript bugs by reproducing errors, setting breakpoints, stepping through code, inspecting variables with Watch expressions, and editing code directly in Chrome DevTools, all demonstrated through a concrete addition calculator example.

Chrome DevToolsJavaScriptdebugging
0 likes · 8 min read
Master JavaScript Debugging: Step-by-Step Guide Using Chrome DevTools
ITPUB
ITPUB
Sep 15, 2017 · Fundamentals

How Linux and glibc Manage Memory: From Virtual Allocation to Physical Release

This article explains Linux's two‑level memory model, lazy physical allocation, the glibc malloc implementation, chunk metadata, large‑vs‑small allocations, memory holes, debugging hooks, leak detection with mtrace, and practical ways to measure a process's memory usage via /proc.

debuggingglibcmalloc
0 likes · 15 min read
How Linux and glibc Manage Memory: From Virtual Allocation to Physical Release
High Availability Architecture
High Availability Architecture
Sep 7, 2017 · Operations

How to Identify and Diagnose Packet Drops on Linux

This article explains how to detect whether inbound or outbound packets are being dropped on a Linux system, shows how to use netstat, dropwatch, and perf to pinpoint the cause, and provides step‑by‑step commands and example outputs for debugging packet loss.

Linux networkingdebuggingdropwatch
0 likes · 5 min read
How to Identify and Diagnose Packet Drops on Linux
Baixing.com Technical Team
Baixing.com Technical Team
Aug 14, 2017 · Frontend Development

Mastering Bug Localization: Proven Strategies for Testers

This guide explains why precise bug localization is crucial for testers, outlines systematic approaches with real-world examples, and offers practical tips—including preserving the crime scene, asking the right questions, and interpreting HTTP status codes—to efficiently identify and resolve issues across web applications.

HTTP status codesQAbug localization
0 likes · 14 min read
Mastering Bug Localization: Proven Strategies for Testers
ITPUB
ITPUB
Aug 9, 2017 · Backend Development

8 Essential Shell Scripting Practices Every Developer Should Follow

This article shares eight hard‑earned recommendations for writing robust Bash scripts, covering shebang selection, debugging flags, static analysis, variable expansion, proper scoping, signal trapping, defensive coding, and knowing when to switch to a more suitable language.

ShellCheckVariable Expansionbash
0 likes · 10 min read
8 Essential Shell Scripting Practices Every Developer Should Follow
Tencent IMWeb Frontend Team
Tencent IMWeb Frontend Team
Jul 27, 2017 · Frontend Development

Master Whistle: Fast Proxy Setup for Frontend Debugging

This guide walks developers through installing Whistle, configuring one‑click proxy switching, and using its powerful rule‑based features—host mapping, file replacement, request forwarding, script injection, mock responses, remote debugging, and HTTPS support—to streamline frontend network debugging.

ProxyToolWhistle
0 likes · 5 min read
Master Whistle: Fast Proxy Setup for Frontend Debugging
MaGe Linux Operations
MaGe Linux Operations
Jun 24, 2017 · Operations

Why My Python Debugger Failed on Ubuntu and How I Fixed It

A Python developer encountered an ImportError while debugging a script on Ubuntu, traced it to a urllib module conflict, restored the Unity desktop with system commands, and finally resolved the issue by removing a stray urllib.py file that blocked PyCharm's debugger.

Pythondebuggingsystem recovery
0 likes · 4 min read
Why My Python Debugger Failed on Ubuntu and How I Fixed It
21CTO
21CTO
Jun 12, 2017 · Frontend Development

Mastering JavaScript Error Handling: From Try‑Catch to Global onerror

This article explains why proper JavaScript error handling is essential, compares syntax and runtime errors, demonstrates good and bad try‑catch patterns, shows how to use global onerror listeners, capture stack traces, and handle asynchronous exceptions to improve frontend code reliability.

Exceptionasynchronousdebugging
0 likes · 13 min read
Mastering JavaScript Error Handling: From Try‑Catch to Global onerror
ITPUB
ITPUB
Jun 11, 2017 · Fundamentals

The Most Stupid C Bug: How a Backslash Turned tmpfile() Into a Comment

This article recounts a baffling C bug where Microsoft's tmpfile() on Windows creates files in C:\, causing a stray backslash to comment out code, and explains how replacing a ternary operator with an if‑else fixed the issue while illustrating common cross‑platform pitfalls.

C++bugcross-platform
0 likes · 5 min read
The Most Stupid C Bug: How a Backslash Turned tmpfile() Into a Comment
ITPUB
ITPUB
May 28, 2017 · Fundamentals

35 Toxic Programming Habits Every Developer Should Eliminate

This article enumerates 35 common bad programming habits—ranging from code organization and team collaboration to testing and maintenance—and explains why they harm productivity, offering concrete advice on how to recognize and replace each habit with healthier practices.

best practicescode qualitydebugging
0 likes · 15 min read
35 Toxic Programming Habits Every Developer Should Eliminate
Hujiang Technology
Hujiang Technology
May 20, 2017 · Mobile Development

Common Kotlin Pitfalls in Android Development and How to Solve Them

This article shares the most frequent Kotlin-related issues encountered in Android projects—including IDE conversion bugs, DexGuard obfuscation crashes, debugging difficulties, missing ternary operators, and other language quirks—along with practical solutions and code examples to help developers avoid them.

AndroidCodeConversionDexGuard
0 likes · 7 min read
Common Kotlin Pitfalls in Android Development and How to Solve Them
Tencent IMWeb Frontend Team
Tencent IMWeb Frontend Team
Apr 13, 2017 · Frontend Development

Essential JavaScript Full‑Stack Tools: From IDEs to Build & Debugging

This article surveys the essential JavaScript full‑stack development ecosystem, detailing runtime environments, popular IDEs, build automation tools, testing frameworks, performance utilities, and debugging solutions, guiding developers in selecting the right tools for efficient front‑end and back‑end development.

JavaScriptbuilddebugging
0 likes · 23 min read
Essential JavaScript Full‑Stack Tools: From IDEs to Build & Debugging
Qunar Tech Salon
Qunar Tech Salon
Apr 10, 2017 · Mobile Development

CTrip WeChat Mini Program Framework: Architecture, Development Challenges, and Solutions

This article introduces CTrip's independently built WeChat mini‑program framework, detailing its CPage architecture, middleware, CWX extensions, component APIs, common development problems such as rendering white‑screens, page‑level limits, authorization dialogs, package size constraints, and the solutions and future plans adopted to overcome them.

Mobile DevelopmentPerformance OptimizationWeChat mini-program
0 likes · 9 min read
CTrip WeChat Mini Program Framework: Architecture, Development Challenges, and Solutions
System Architect Go
System Architect Go
Apr 2, 2017 · Backend Development

Detecting Node.js Memory Leaks with devtool

This tutorial explains how to install and use the devtool utility to monitor, capture heap snapshots, and analyze memory usage in a Node.js application, demonstrating the detection of memory leaks through practical examples and timeline visualizations.

BackendMemory Leakdebugging
0 likes · 5 min read
Detecting Node.js Memory Leaks with devtool
MaGe Linux Operations
MaGe Linux Operations
Mar 5, 2017 · Fundamentals

17 Common Python Mistakes Every Beginner Should Avoid

This article lists and explains seventeen typical errors that new Python programmers make—from missing colons and using the wrong operators to indentation problems and misuse of built‑in functions—providing clear examples and corrected code to help readers debug their scripts effectively.

PythonSyntaxcommon errors
0 likes · 9 min read
17 Common Python Mistakes Every Beginner Should Avoid
ITPUB
ITPUB
Feb 21, 2017 · Databases

How to Quickly Detect and Fix Common SQL Errors in PHP

This guide explains why production SQL errors appear despite successful local tests, shows how to proactively log and monitor PHP‑MySQL errors, and provides concrete solutions for frequent MySQL error codes with example code and step‑by‑step troubleshooting tips.

Error LoggingMySQLPHP
0 likes · 10 min read
How to Quickly Detect and Fix Common SQL Errors in PHP
DevOps
DevOps
Feb 10, 2017 · Cloud Native

Top 10 Common Docker Misconceptions and Their Solutions

This article debunks the ten most frequent Docker misconceptions—ranging from platform limitations and development workflow constraints to debugging and database usage—by explaining why they are inaccurate and providing practical solutions such as using custom Dockerfiles, volume mounts, remote debugging, and proper container management commands.

CloudNativeDevOpsDocker
0 likes · 13 min read
Top 10 Common Docker Misconceptions and Their Solutions
Architecture Digest
Architecture Digest
Jan 19, 2017 · Mobile Development

Common Issues and Solutions in WeChat Mini Program Development

This article compiles a comprehensive list of frequently encountered problems and practical solutions for WeChat Mini Program development, covering script environment limitations, navigation constraints, styling rules, network request handling, component usage, platform-specific bugs, and performance tips to help developers build stable mobile applications.

APIMobile DevelopmentWeChat mini-program
0 likes · 9 min read
Common Issues and Solutions in WeChat Mini Program Development