# 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.