load_executable
Load a PE executable into x64dbg and create a debugging session. Returns a sessionId required by all other tools. Automatically detects 32-bit or 64-bit binaries and launches the appropriate debugger. Optionally pause at entry point or run immediately.
Instructions
START HERE — load a PE executable into x64dbg and create a debugging session. Returns a sessionId that ALL other tools require as their first parameter. Auto-detects 32-bit vs 64-bit PE and launches x32dbg or x64dbg accordingly. With breakOnEntry=true (default): execution stops at the entry point and the session state becomes 'paused' — you can immediately call step_into, get_registers, or disassemble. With breakOnEntry=false: the debuggee starts running; use set_breakpoint then continue_execution to pause it later. Only one session can be active at a time. Call terminate_session first if one exists.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| executablePath | Yes | Absolute path to the PE executable (.exe or .dll) | |
| commandLineArgs | No | Optional command-line arguments to pass to the executable | |
| breakOnEntry | No | Pause at the entry point (default true) | |
| autoAnalyze | No | Run initial analysis on load (default true) |