> For the complete documentation index, see [llms.txt](https://docs.hyperdbg.org/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.hyperdbg.org/commands/scripting-language/functions/debugger/pause.md).

# pause

### Function

> pause

### Syntax

> pause( );

### Parameters

No argument.

### Description

Breaks and halts the system and give control to the kernel debugger.

### Examples

`pause();`

Break and halt the system and give control to the debugger.

### Remarks

{% hint style="warning" %}
You can **only** use this function in **Debugger Mode**, and you **cannot** use it on VMI **Mode or local debugging**.

This command must be used in [events](https://docs.hyperdbg.org/design/debugger-internals/events). You should avoid using this function with the '[?](https://docs.hyperdbg.org/commands/debugging-commands/eval)' command. Otherwise, the system will halt.
{% endhint %}

### Related

None
