> ## Documentation Index
> Fetch the complete documentation index at: https://docs.xbox.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Stop

> IXtfDebugMonitorClient::Stop Method

Stops listening for debug output from the development console.

## Syntax

```cpp theme={null}
public:
HRESULT Stop(
         DWORD dwProcessId,
         XTF_DBGMON_STOP_FLAGS dwFlags
)  
```

### Parameters

*dwProcessId*\
Type: DWORD

Identifier of the process.

*dwFlags*\
Type: XTF\_DBGMON\_STOP\_FLAGS

Flags that specify how to perform the operation.\
This functionality is not fully developed and, so the parameter should take a value of 0.

### Return value

Type: HRESULT

HRESULT success or error code.

## Remarks

Call this method when you have finished listening to a game on a development console for debug output. The call should occur after you have called [IXtfDebugMonitorClient::Start](https://docs.xbox.com/reference/tools/xtf/xtfdebugmonitor/classes/IXtfDebugMonitorClient/methods/start-ixtfdebugmonitorclient-xtfdebugmonitor-xbox-microsoft-m.md) to start listening for debug output. Failure to call **IXtfDebugMonitorClient::Stop** could result in resource leakage and an orphaned debugger attachment to the game, this may require a game restart to fix.

## Requirements

**Header:** xtfdebugmonitor.h

**Library:** xtfdebugmonitor.lib

**Supported platforms:** Windows (for XBOX console tools)

## See also

[IXtfDebugMonitorClient Interface](https://docs.xbox.com/reference/tools/xtf/xtfdebugmonitor/classes/IXtfDebugMonitorClient/ixtfdebugmonitorclient-xtfdebugmonitor-xbox-microsoft-t.md)\
[XtfDebugMonitor](https://docs.xbox.com/reference/tools/xtf/xtfdebugmonitor/xtfdebugmonitor-xbox-microsoft-n.md)\
[IXtfDebugMonitorClient::Start](https://docs.xbox.com/reference/tools/xtf/xtfdebugmonitor/classes/IXtfDebugMonitorClient/methods/start-ixtfdebugmonitorclient-xtfdebugmonitor-xbox-microsoft-m.md)


## Related topics

- [Stop Experiment](https://docs.xbox.com/services/playfab/api-references/rest/experimentation/experimentation/stop-experiment.md)
- [experiment_stop_requested](https://docs.xbox.com/services/playfab/api-references/events/Experimentation/experiment-stop-requested.md)
- [IGameInput::StopCallback](https://docs.xbox.com/reference/input/gameinput/interfaces/igameinput/methods/igameinput_stopcallback.md)
- [XAppCaptureMetadataStopState](https://docs.xbox.com/reference/system/xappcapture/functions/xappcapturemetadatastopstate.md)
- [XAppCaptureStopUserRecord](https://docs.xbox.com/reference/system/xappcapture/functions/xappcapturestopuserrecord.md)
