# Class: com.pnfsoftware.jeb.core.util.DebuggerHelper

Helper routines for [debugger units](IDebuggerUnit).

## Constructor: DebuggerHelper


## Static Method: getDebugger
- parameter: `unit`, type: `com.pnfsoftware.jeb.core.units.IUnit`
- return type: `com.pnfsoftware.jeb.core.units.code.debug.IDebuggerUnit`

Description: Retrieve or create a debugger for the provided code unit.
parameter: unit: 
return: the decompiler unit or null

## Static Method: getDebugger
- parameter: `unit`, type: `com.pnfsoftware.jeb.core.units.IUnit`
- parameter: `createIfNotExist`, type: `boolean`
- return type: `com.pnfsoftware.jeb.core.units.code.debug.IDebuggerUnit`

Description: Retrieve a debugger for the provided code unit. 

 An existing debugger unit that can potentially manage the provided code unit will be returned. If several are found, find the one which is attached. If several debuggers exists and are attached, the result will be null.
parameter: unit: 
return: the decompiler unit or null

## Static Method: typeName
- parameter: `codeUnitType`, type: `java.lang.String`
- return type: `java.lang.String`

Description: 
parameter: codeUnitType: unit type of a code unit
return: the unit type of a decompiler plugin for the provided code unit

