Usage of WupiCheckDebugger
The behaviour of WupiCheckDebugger depends on the anti-debugger level that is set as argument. If you have activated the hardware locking mechanism in your debugger check, then - in the case of detecting a debug attack - the function does not return with a value but locks the hardware and exits the application. Without hardware locking mechanism you get true or false as return value and you can decide by yourself what to do.