developer-delphi-assembly-debugging

Enable Delphi assembly debugging with CPU View, breakpoints, and benchmarking tooling.

Updated Jan 6, 2026
One-click install
npx skills add https://github.com/cslsoftwares/ParamentersORM --skill developer-delphi-assembly-debugging
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: developer-delphi-assembly-debugging
Source: https://github.com/cslsoftwares/ParamentersORM/tree/main/.cursor/skills/developer-delphi-assembly-debugging_V1.0.0
Command: npx skills add https://github.com/cslsoftwares/ParamentersORM --skill developer-delphi-assembly-debugging

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This Skill provides structured guidance and tooling insights to debug Delphi assembly using the IDE's CPU View, breakpoints, and cross-tool benchmarking.

Core Features & Use Cases

  • CPU View panels (Disassembly, Registers, Stack, Memory, FPU/SSE) for real-time insight.
  • INT 3 as conditional breakpoint to halt execution and inspect state.
  • RDTSC/RDTSCP timing for micro-benchmarking and cycle counting.
  • OutputDebugString instrumentation to trace asm-internal messages.
  • Guidance for external analysis with x64dbg for Windows-based Delphi debugging.

Quick Start

Open Delphi, enable the CPU View, set an INT 3 breakpoint, and step through the assembly while watching registers and stack.

Frequently Asked Questions about developer-delphi-assembly-debugging

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I debug Delphi assembly code using the CPU View?

Delphi assembly debugging uses the CPU View to inspect Disassembly, Registers, Stack, Memory, and FPU/SSE panels. Set an INT 3 breakpoint to halt execution and step through instructions while monitoring real-time register and stack state.

What is the best way to micro-benchmark Delphi assembly routines?

Micro-benchmark Delphi assembly by utilizing RDTSC and RDTSCP instructions for cycle counting. This timing approach measures execution performance during debugging sessions to identify bottlenecks in specific asm routines.

Can I use x64dbg to debug Delphi applications on Windows?

Yes, x64dbg serves as an external debugger for Windows-based Delphi applications. It provides integration guidance to analyze compiled Delphi code when you need advanced disassembly and memory inspection beyond the IDE.

How do I trace internal messages during Delphi assembly debugging?

Trace internal messages during Delphi assembly debugging by inserting OutputDebugString instrumentation. This sends real-time asm-internal trace messages to the debugger, allowing you to monitor execution flow without altering the UI.

Does Delphi CPU View support inspecting SSE and FPU instructions?

Yes, the Delphi CPU View supports inspecting SSE and FPU instructions. It exposes dedicated FPU/SSE panels to track floating-point and SIMD register states during real-time assembly stepping and debugging.

Why use INT 3 breakpoints when debugging Delphi assembly?

INT 3 breakpoints act as conditional halts in Delphi assembly to pause execution precisely at target instructions. This allows immediate inspection of register, stack, and memory state before the code proceeds.