Debugger.IsDataViewerVisible
----------------------------

Checks whether the data viewer is open.

| Component | Version | macOS | Windows | Linux | Server | iOS SDK |
|---|---|---|---|---|---|---|
| [Debugger](component_Debugger.md) | [11.2](newinversion112.md) | ✅ Yes | ❌ No | ❌ No | ❌ No | ❌ No |

MBS( "Debugger.IsDataViewerVisible" ) ### Parameters

none

### Result

Returns 1, 0 or error.

### Description

Checks whether the data viewer is open.  
### Examples

Checks for data viewer:

 Set Variable \[ $r ; Value: MBS ("Debugger.IsDataViewerVisible") \]  
Do things only when debugging:

 If \[ MBS ( "Debugger.IsDataViewerVisible" ) \]   
 Set Variable \[ $DebugStatus ; Value: "Something we like to show in debugger." \]   
 # and we pause here if debugging  
 Pause/Resume Script \[ Indefinitely \]   
End If  
### Release notes

- **Version 11.2**
    - Added [Debugger.IsDataViewerVisible](https://www.mbsplugins.eu/DebuggerIsDataViewerVisible.shtml) function.

### Blog Entries

- [Goodies 28: Hide lines in Data Viewer](https://www.monkeybreadsoftware.com/filemaker/SyntaxColoring/28-HidelinesinDataViewer.shtml)
- [Data Viewer extensions](https://www.mbsplugins.de/archive/2023-01-11/Data_Viewer_extensions/monkeybreadsoftware_blog_filemaker)
- [New in MBS FileMaker Plugin 11.2](https://www.mbsplugins.de/archive/2021-05-26/New_in_MBS_FileMaker_Plugin_11/monkeybreadsoftware_blog_filemaker)
- [MBS FileMaker Plugin, version 11.2pr4](https://www.mbsplugins.de/archive/2021-04-21/MBS_FileMaker_Plugin_version_1/monkeybreadsoftware_blog_filemaker)

This function checks for a license.

Created 14th April 2021 , last changed 8th January 2023

  
[Debugger.GetCallStack](DebuggerGetCallStack.md) - [Debugger.IsVisible](DebuggerIsVisible.md)

[HTML Version](DebuggerIsDataViewerVisible.shtml)