CURL.GetDebugLength
-------------------

Queries the current length in bytes of the debug messages buffer.

| Component | Version | macOS | Windows | Linux | Server | iOS SDK |
|---|---|---|---|---|---|---|
| [CURL](component_CURL.md) | [2.5](newinversion25.md) | ✅ Yes | ✅ Yes | ✅ Yes | ✅ Yes | ✅ Yes |

MBS( "CURL.GetDebugLength"; curl ) 

**MBS**( **"CURL.GetDebugLength";** /\* Queries the current length in bytes of the debug messages buffer. \*/  
**$curl**) /\* The CURL session handle. \*/ 

### Parameters

| Parameter | Description | Example |
|---|---|---|
| curl | The CURL session handle. | $curl |

### Result

Length in bytes.

### Description

Queries the current length in bytes of the debug messages buffer.  
### Examples

Query length. Shows 11 for "Hello World" above:

 MBS ("CURL.GetDebugLength"; $curl )  
### See also

- [CURL.GetHeaderLength](CURLGetHeaderLength.md)
- [CURL.GetInputLength](CURLGetInputLength.md)
- [CURL.GetResultLength](CURLGetResultLength.md)

This function checks for a license.

Created 18th August 2014 , last changed 18th August 2014

  
[CURL.GetDebugAsText](CURLGetDebugAsText.md) - [CURL.GetDebugMessages](CURLGetDebugMessages.md)

[HTML Version](CURLGetDebugLength.shtml)