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

Helper methods related to [debugger units](IDebuggerUnit).

## 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: the target unit
return: the debugger 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, an attached one is preferred; otherwise, the first matching one is returned.
parameter: unit: the target unit
parameter: createIfNotExist: `true` to create a debugger if no suitable one already exists
return: the debugger unit or `null`

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

Description: Build the debugger unit type associated with a code unit type.
parameter: codeUnitType: the code unit type
return: the debugger unit type for the provided code unit type

