Back to X64dbg

killthread/threadkill

docs/commands/thread-control/killthread.md

2026.04.20314 B
Original Source

killthread/threadkill

Kill a thread in the debuggee.

arguments

[arg1] ThreadId of the thread to kill (see the Threads tab). When not specified, the main thread is used.

[arg2] Thread exit code. When not specified, 0 will be used.

result

This command does not set any result variables.