---
name: "DebugSetProcessKillOnExit"
section: "3w"
platform: "linux"
package: "libwine-dev"
version: "1.4.1-4"
release: "Debian 7 (Wheezy)"
platforms: ["linux"]
url: "https://new.carta.tech/DebugSetProcessKillOnExit"
---

# DebugSetProcessKillOnExit(3w)

## NAME

**DebugSetProcessKillOnExit** (KERNEL32.@)

## SYNOPSIS

BOOL DebugSetProcessKillOnExit\
  (\
   BOOL *kill*\
  )

## DESCRIPTION

Let a debugger decide whether a debuggee will be killed upon debugger termination.

## PARAMS

*kill* **\[In\]**  If set to **TRUE** then *kill* the process on exit.

## RETURNS

**TRUE** if successful, **FALSE** otherwise.

## IMPLEMENTATION

Declared in **"winbase.h"**.

Implemented in **"dlls/kernel32/debugger.c"**.

Debug channel **"debugstr"**.
