Tagged articles

Debugging

1031 articles · Page 10 of 11
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 DevToolsDebuggingJavaScript
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 designDebuggingHooks
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 StatisticsDebuggingFlutter
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.

DebuggingImplicit ConversionMySQL
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.

Debuggingcode formattingpretty 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.

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

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

CPUDebuggingFull GC
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.

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

ChromeDebuggingconsole
0 likes · 9 min read
Master Chrome Console: Essential Debugging Techniques and Commands
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.

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

DebuggingShell scriptingShellCheck
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.

DebuggingOOPdata-io
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.

DebuggingFCMGCM
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 StructuresDebuggingMemory Management
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 DevToolsDebuggingconsole
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.

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

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

DebuggingMVVMObjective‑C
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.

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

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

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

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

DebuggingShell scriptingString Manipulation
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.

DebuggingETWUI Performance
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.

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

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

502Debuggingbackend
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.

DebuggingJavaScriptWeb Development
0 likes · 12 min read
Top 10 Most Common JavaScript Errors and How to Prevent Them
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.

DebuggingNetwork RequestsXMLHttpRequest
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.

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

DebuggingGitPowerShell
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-OriginDebuggingJSONP
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.

DICOMDebuggingPython
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.NETDebugging
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 StructuresDebuggingMemory Management
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.

DebuggingPythonbeginners
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 DevToolsDebuggingJavaScript
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.

DebuggingMemory Managementglibc
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.

DebuggingLinux networkingdropwatch
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.

DebuggingHTTP status codesQA
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.

DebuggingShell scriptingShellCheck
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.

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

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

AsynchronousDebuggingException
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++Debuggingbug
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.

Debuggingbest practicescode quality
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.

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

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

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

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

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

DatabaseDebuggingError Logging
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.

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

APIDebuggingWeChat mini program
0 likes · 9 min read
Common Issues and Solutions in WeChat Mini Program Development
High Availability Architecture
High Availability Architecture
Dec 11, 2016 · Artificial Intelligence

Why Machine Learning Is Hard: Debugging Challenges and Exponential Difficulty

The article explains that while machine learning has advanced with abundant courses, textbooks, and frameworks, engineers still face hard debugging problems due to algorithmic, implementation, data, and model dimensions, leading to exponential difficulty and long feedback loops that demand intuition and systematic testing.

Artificial IntelligenceDebuggingMachine Learning
0 likes · 8 min read
Why Machine Learning Is Hard: Debugging Challenges and Exponential Difficulty
Qunar Tech Salon
Qunar Tech Salon
Dec 9, 2016 · Mobile Development

Understanding and Tackling Memory Leaks in Android Applications

This article explains what memory leaks are on Android, outlines their common sources, introduces various detection tools such as Lint, StrictMode, LeakCanary, Android Memory Monitor, MAT and adb commands, and provides practical strategies for locating and fixing leaks in mobile apps.

AndroidDebuggingPerformance
0 likes · 9 min read
Understanding and Tackling Memory Leaks in Android Applications
ITPUB
ITPUB
Oct 19, 2016 · Frontend Development

15 Chrome DevTools Tricks to Supercharge Your Frontend Workflow

Discover 15 powerful Chrome DevTools shortcuts—from quick file search and regex source scanning to multi‑cursor editing, color picking, device emulation, and workspace file editing—that dramatically boost debugging speed and productivity for web developers.

Chrome DevToolsDebuggingWeb Development
0 likes · 9 min read
15 Chrome DevTools Tricks to Supercharge Your Frontend Workflow
Meituan Technology Team
Meituan Technology Team
Oct 1, 2016 · Backend Development

Debugging Spring MVC @Service Bean Injection Issues with JMap and JHat

The article explains how a Spring MVC service bean was duplicated across root and child WebApplicationContexts, causing a null‑injected instance that triggered a NullPointerException, and shows how JMap and JHat were used to locate the two beans and resolve the issue by adjusting component‑scan filters or removing the @Service annotation.

DebuggingJavabean-injection
0 likes · 14 min read
Debugging Spring MVC @Service Bean Injection Issues with JMap and JHat
ITPUB
ITPUB
Sep 27, 2016 · Backend Development

Building a Linux C++ Memory Leak Detector with Custom New/Delete

This article explains how to implement a memory‑leak detection subsystem for Linux C++ programs by overloading the global new/delete operators, recording allocation sites with file and line information, handling mismatched deletions, supporting dynamic monitoring, and addressing nested‑delete and mutex re‑entrancy issues.

C++DebuggingMemory Leak Detection
0 likes · 30 min read
Building a Linux C++ Memory Leak Detector with Custom New/Delete
ITPUB
ITPUB
Sep 26, 2016 · Operations

8 Essential Tips for Writing Robust Bash Shell Scripts

This article shares eight hard‑earned recommendations for crafting reliable Bash scripts, covering interpreter selection, debugging flags, static analysis tools, variable expansion, proper scoping, signal trapping, thoughtful design, and recognizing when to switch to more suitable languages.

DebuggingDevOpsShell scripting
0 likes · 10 min read
8 Essential Tips for Writing Robust Bash Shell Scripts
dbaplus Community
dbaplus Community
Aug 22, 2016 · Backend Development

Debugging Rare Core Dumps in High‑Concurrency Nginx: From GDB to ASan

This article details a real‑world investigation of extremely low‑probability core dumps and memory leaks in a heavily modified Nginx/OpenSSL stack, covering debugging strategies, custom traffic‑control testing, distributed load generation, use of valgrind and AddressSanitizer, performance profiling with perf, and the mindset needed to solve such high‑concurrency bugs.

DebuggingPerformanceaddresssanitizer
0 likes · 21 min read
Debugging Rare Core Dumps in High‑Concurrency Nginx: From GDB to ASan
Tencent Music Tech Team
Tencent Music Tech Team
Jul 20, 2016 · Mobile Development

Overview of Android TV Development

Android TV, now dominating China’s rapidly expanding smart‑TV market, offers a large shared screen experience and extensive I/O options, while development mirrors Android phone projects using Android Studio and Gradle, with debugging on boxes or tablets, and requires careful handling of limited CPU/memory, background‑process behavior, and wired‑network connectivity.

Android TVDebuggingDevelopment Tools
0 likes · 8 min read
Overview of Android TV Development
Aotu Lab
Aotu Lab
Jul 8, 2016 · Frontend Development

Unlock Console Magic: Master %c, %o, %O and ASCII Art in Browser DevTools

This tutorial explores advanced console.log techniques—including format specifiers, CSS styling, image rendering, and creating ASCII art—while detailing browser compatibility, practical code examples, and useful tools for front‑end developers seeking more expressive debugging output.

CSSDebuggingascii-art
0 likes · 8 min read
Unlock Console Magic: Master %c, %o, %O and ASCII Art in Browser DevTools
ITPUB
ITPUB
Jul 7, 2016 · Fundamentals

Mastering Linux printk: Levels, Macros, and Kernel Logging Mechanics

This article provides a comprehensive guide to Linux's printk system, covering its ring‑buffer design, log level definitions, early boot usage, helper macros, rate‑limiting techniques, kernel‑side implementation details, and ways to access logs from user space.

C++DebuggingOperating Systems
0 likes · 14 min read
Mastering Linux printk: Levels, Macros, and Kernel Logging Mechanics
Efficient Ops
Efficient Ops
Jun 21, 2016 · Operations

How to Effectively Learn Open Source Code: A DevOps Guide

This article outlines a step-by-step DevOps guide for mastering source code, covering preparation, code exploration, framework understanding, workflow tracing, data flow analysis, debugging techniques, and practical tips such as selecting resources, IDEs, and leveraging tests to accelerate learning.

DebuggingDevOpsIDE
0 likes · 15 min read
How to Effectively Learn Open Source Code: A DevOps Guide
21CTO
21CTO
Jun 18, 2016 · Backend Development

How to Debug Rare Core Dumps in High‑Concurrency Nginx: Tools & Strategies

This article shares a detailed post‑mortem of debugging extremely rare core dumps and memory leaks in a high‑concurrency Nginx HTTPS implementation, covering root‑cause analysis, custom stress‑test frameworks, and the use of tools such as gdb, valgrind, AddressSanitizer, perf and flame graphs to locate and fix the issues.

DebuggingPerformanceasan
0 likes · 21 min read
How to Debug Rare Core Dumps in High‑Concurrency Nginx: Tools & Strategies
Architecture Digest
Architecture Digest
Jun 18, 2016 · Backend Development

Debugging Rare Core Dumps and Memory Leaks in High‑Concurrency Nginx with OpenSSL

The article describes a real‑world investigation of extremely low‑probability core dumps and memory leaks in a heavily modified Nginx + OpenSSL stack, detailing the debugging workflow, custom high‑concurrency test harness, use of tools such as GDB, perf, Valgrind, AddressSanitizer, and the performance‑hotspot analysis that ultimately resolved the issues.

DebuggingOpenSSLPerformance
0 likes · 19 min read
Debugging Rare Core Dumps and Memory Leaks in High‑Concurrency Nginx with OpenSSL
Architecture Digest
Architecture Digest
Jun 11, 2016 · Information Security

In-Depth Debugging and Performance Analysis of Baidu Cloud Guard (Baidu Cloud Manager)

The article presents a detailed reverse‑engineering investigation of Baidu Cloud Guard, using Task Manager, Process Explorer, VTune, and WinDBG to expose its high page‑fault rate, anti‑debugging tricks, intensive heap allocations, and frequent process‑enumeration calls that cause excessive CPU usage.

Anti-debuggingDebuggingHeap Allocation
0 likes · 15 min read
In-Depth Debugging and Performance Analysis of Baidu Cloud Guard (Baidu Cloud Manager)
Efficient Ops
Efficient Ops
May 23, 2016 · Operations

Mastering strace: Diagnose Linux Process Issues with Real-World Examples

This article explains what strace is, how it works, and provides step‑by‑step examples—including fixing a failed service start, tracing nginx, diagnosing process crashes, shared‑memory errors, and performance analysis—to help operations engineers quickly locate and resolve Linux system problems.

Debugginglinuxoperations
0 likes · 18 min read
Mastering strace: Diagnose Linux Process Issues with Real-World Examples