Back to X64dbg

DbgCmdExecDirect

docs/developers/functions/debug/DbgCmdExecDirect.md

2026.04.20361 B
Original Source

DbgCmdExecDirect

Execute the command on the calling thread.

c++
bool DbgCmdExecDirect(const char* cmd)

Parameters

cmd The command string in UTF-8 encoding

Return Value

true if the command is executed successfully, false otherwise.

Example

c++
DbgCmdExecDirect("run");