Tag

debugging

1 views collected around this technical thread.

Java Tech Enthusiast
Java Tech Enthusiast
Jun 11, 2025 · Fundamentals

Can You Pass This Humorous Programmer Quiz? Test Your Coding Culture Knowledge

This article presents a playful yet comprehensive programming exam that includes multiple‑choice, fill‑in‑the‑blank, true/false, code‑reading, and essay questions covering debugging habits, Git practices, code review comments, and common developer myths, complete with answer keys and sample code snippets.

Code ReviewGitdebugging
0 likes · 12 min read
Can You Pass This Humorous Programmer Quiz? Test Your Coding Culture Knowledge
Deepin Linux
Deepin Linux
Jun 9, 2025 · Operations

Mastering Linux Kernel Oops: Debugging Secrets Every Developer Should Know

This comprehensive guide explains what Linux kernel Oops errors are, why they occur, and provides step‑by‑step debugging techniques—including environment setup, kernel configuration, printk usage, BUG macros, GDB, objdump, and memory‑checking tools—to help developers quickly locate and fix Oops issues in custom kernel modules.

GDBLinuxOops
0 likes · 48 min read
Mastering Linux Kernel Oops: Debugging Secrets Every Developer Should Know
Architect
Architect
May 29, 2025 · Artificial Intelligence

Understanding Model Context Protocol (MCP): Architecture, Development Pitfalls, and AI Reflections

This article introduces the Model Context Protocol (MCP) as an open AI‑model integration standard, explains its client‑server architecture and components, shares practical Node/Python development pitfalls and debugging tips, discusses hallucination and error‑retry strategies, lists useful tools, and reflects on the broader implications of AI‑driven conversational services.

AI ServicesAI integrationMCP
0 likes · 14 min read
Understanding Model Context Protocol (MCP): Architecture, Development Pitfalls, and AI Reflections
Java Captain
Java Captain
May 23, 2025 · Backend Development

Resolving Spring Boot Resource Loading Errors When Running from a JAR

This article explains why a Spring Boot application fails to locate a template file when packaged as a JAR, details the step‑by‑step debugging process, and provides code solutions using ClassPathResource or PathMatchingResourcePatternResolver to correctly read resources inside the JAR.

JarJavaSpring Boot
0 likes · 5 min read
Resolving Spring Boot Resource Loading Errors When Running from a JAR
Code Mala Tang
Code Mala Tang
May 22, 2025 · Fundamentals

9 Essential Python Debugging Techniques Every Developer Should Master

This guide presents nine practical Python debugging methods—including try‑except blocks, print statements, the pdb debugger, assertions, stack trace analysis, linting tools, IDE breakpoints, logging, and unit testing—to help developers quickly identify and resolve errors in their code.

Error HandlingPythondebugging
0 likes · 4 min read
9 Essential Python Debugging Techniques Every Developer Should Master
IT Services Circle
IT Services Circle
May 22, 2025 · Fundamentals

Understanding Java Thread States and Using Arthas to Diagnose Thread Blocking

This article explains the six Java thread states defined in Thread.State, demonstrates how to use the Arthas diagnostic tool to identify blocked, waiting, or timed‑waiting threads, and provides practical strategies for diagnosing and optimizing thread‑blocking issues in Java applications.

ArthasConcurrencyJava
0 likes · 7 min read
Understanding Java Thread States and Using Arthas to Diagnose Thread Blocking
DevOps
DevOps
May 21, 2025 · Artificial Intelligence

Understanding Model Context Protocol (MCP): Architecture, Development Pitfalls, and AI Reflections

This article introduces the Model Context Protocol (MCP) as an open standard for connecting large language models to external data and tools, explains its client‑server architecture, shares practical Node/TypeScript development pitfalls and debugging tips, and reflects on broader AI dialogue versus service integration scenarios.

AIMCPNode.js
0 likes · 11 min read
Understanding Model Context Protocol (MCP): Architecture, Development Pitfalls, and AI Reflections
Tencent Cloud Developer
Tencent Cloud Developer
May 20, 2025 · Artificial Intelligence

Understanding Model Context Protocol (MCP): Architecture, Development Pitfalls, and AI Reflections

This article introduces the Model Context Protocol (MCP), explains its client‑server architecture, shares practical development experiences and debugging tips for Node.js and Python implementations, discusses common pitfalls such as environment setup, hallucinations, and error handling, and reflects on the broader implications of AI‑driven services.

AI integrationMCPModel Context Protocol
0 likes · 13 min read
Understanding Model Context Protocol (MCP): Architecture, Development Pitfalls, and AI Reflections
Java Captain
Java Captain
May 14, 2025 · Fundamentals

Creation and Stopping of Debug Sessions in IntelliJ

The article explains how IntelliJ creates a debug session via XDebuggerManager.startSessionAndShowTab, the role of XDebugSession and XDebugProcess, and details the sequence of events and listeners involved when the session is stopped, including process termination and listener cleanup.

IntelliJJavaProcessHandler
0 likes · 6 min read
Creation and Stopping of Debug Sessions in IntelliJ
Full-Stack Internet Architecture
Full-Stack Internet Architecture
May 12, 2025 · Backend Development

Why Using synchronized on a Local Variable Fails to Lock in Java Multithreading

The article demonstrates that synchronizing on a locally created object does not provide proper thread safety, shows the resulting chaotic output, and explains how moving the lock object to a class field resolves the issue, illustrated with Java code and debugging screenshots.

ConcurrencyJavaMultithreading
0 likes · 4 min read
Why Using synchronized on a Local Variable Fails to Lock in Java Multithreading
php中文网 Courses
php中文网 Courses
May 12, 2025 · Fundamentals

Python Unit Testing and Debugging Techniques: From unittest to pytest and CI Integration

This article explains why unit testing and debugging are essential in Python development, introduces the unittest and pytest frameworks, shows how to measure test coverage, demonstrates debugging methods like print statements, pdb, and IDE tools, and provides examples of integrating tests into CI pipelines.

Pythonci/cddebugging
0 likes · 10 min read
Python Unit Testing and Debugging Techniques: From unittest to pytest and CI Integration
Java Tech Enthusiast
Java Tech Enthusiast
May 7, 2025 · Backend Development

Why Redis Increment Returns Null When Using @Transactional with Transaction Support in Spring Boot

The production failure where a customer‑service event creation stopped each morning was traced to RedisTemplate’s increment returning null because @Transactional combined with enabled Redis transaction support caused the command to be queued in a MULTI/EXEC block, which is fixed by using separate non‑transactional and transactional StringRedisTemplate beans.

JavaMicroservicesRedis
0 likes · 11 min read
Why Redis Increment Returns Null When Using @Transactional with Transaction Support in Spring Boot
JD Tech Talk
JD Tech Talk
May 6, 2025 · Backend Development

Building a Java Method Call‑Stack Tracing Tool to Accelerate Issue Diagnosis

This article describes the pain points of daily on‑call debugging, explains how Java StackTraceElement can be leveraged to construct a chain‑style call‑stack visualizer, details the implementation of a lightweight tracing utility with configurable filters, and demonstrates its integration and practical usage in production environments.

JavaPerformanceStackTrace
0 likes · 14 min read
Building a Java Method Call‑Stack Tracing Tool to Accelerate Issue Diagnosis
Java Tech Enthusiast
Java Tech Enthusiast
May 5, 2025 · Fundamentals

IntelliJ IDEA 2025.1 Release: AI Assistant Integration and Java 24 Support

IntelliJ IDEA 2025.1 launches with full Java 24 support, Kotlin K2 as the default mode, and a unified JetBrains AI Assistant that adds smarter code completion, multi‑file chat editing, and cloud models like GPT‑4.1, while also delivering enhanced debugging, a revamped terminal, improved framework tools, native Gradle daemon configuration, and richer Git integration.

Build ToolsIDE featuresIntelliJ IDEA
0 likes · 6 min read
IntelliJ IDEA 2025.1 Release: AI Assistant Integration and Java 24 Support
Rare Earth Juejin Tech Community
Rare Earth Juejin Tech Community
May 4, 2025 · Frontend Development

A Front‑End Developer’s Guide to Integrating WeChat QR‑Code Login

This step‑by‑step tutorial walks front‑end developers through the entire process of integrating WeChat QR‑code login, covering prerequisite checklist, platform setup, core JavaScript SDK usage, callback handling, common pitfalls, security hardening, performance tweaks, debugging tricks, and a learning roadmap.

Front-endOAuthPerformance
0 likes · 10 min read
A Front‑End Developer’s Guide to Integrating WeChat QR‑Code Login
Full-Stack Internet Architecture
Full-Stack Internet Architecture
May 2, 2025 · Databases

Demonstrating MySQL Deadlock with a Practical Example

This article explains MySQL deadlocks by creating a test table, running two concurrent transactions—one using SLEEP to hold a lock and another attempting the same resource—to reproduce a deadlock error, and discusses how this approach aids debugging and understanding of transaction conflicts.

DeadlockMySQLSQL
0 likes · 4 min read
Demonstrating MySQL Deadlock with a Practical Example
Code Mala Tang
Code Mala Tang
Apr 21, 2025 · Fundamentals

Unlock Python’s Secrets: Master Namespaces and Scope Explained

This article demystifies Python namespaces, explaining how names map to objects, distinguishing them from scope, detailing the LEGB rule, illustrating built‑in, global, local, and nested namespaces, their lifecycles, and showing practical debugging techniques with locals() and globals().

NamespacesPythonScope
0 likes · 9 min read
Unlock Python’s Secrets: Master Namespaces and Scope Explained
Test Development Learning Exchange
Test Development Learning Exchange
Apr 20, 2025 · Mobile Development

How to Use ADB Commands: Reboot, Logcat, and Shell

This guide explains essential ADB commands for Android development, covering how to reboot a device (including bootloader and recovery modes), view real‑time logs with logcat and its filtering options, and enter the device’s shell to run Linux commands such as ls, pwd, and top.

ADBMobile Developmentandroid
0 likes · 3 min read
How to Use ADB Commands: Reboot, Logcat, and Shell
Test Development Learning Exchange
Test Development Learning Exchange
Apr 19, 2025 · Mobile Development

Understanding ADB: Installation, Environment Setup, and Device Connection

This guide explains what ADB (Android Debug Bridge) is, how to install JDK and the Android SDK, configure environment variables, enable USB debugging, and verify device connection using the adb devices command, providing a solid foundation for Android development and testing.

ADBMobile DevelopmentSDK Setup
0 likes · 3 min read
Understanding ADB: Installation, Environment Setup, and Device Connection
macrozheng
macrozheng
Apr 19, 2025 · Backend Development

What’s New in IntelliJ IDEA 2025.1? AI Boosts, Java 24 Support & More

IntelliJ IDEA 2025.1 introduces comprehensive Java 24 support, makes Kotlin K2 the default mode, delivers a major AI assistant upgrade with free unlimited code completion, and adds numerous productivity enhancements such as improved debugging, UI redesign, containerfile support, and tighter Gradle integration.

AI AssistantIntelliJ IDEAJava 24
0 likes · 7 min read
What’s New in IntelliJ IDEA 2025.1? AI Boosts, Java 24 Support & More