Debugger.CurrentLineNumber
--------------------------

Queries current line number.

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

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

none

### Result

Returns number or error.

### Description

Queries current line number.  
This is the line number showing the hash mark and may not be the current line.  
If FileMaker does not update the debugger window while running several steps, the line returned is usually the last one it stopped.  
  
Result is -1 if not known. First row is number 1.  
### Release notes

- **Version 8.5**
    - Added [Debugger.CurrentLineNumber](http://www.mbsplugins.eu/DebuggerCurrentLineNumber.shtml) function.

This function checks for a license.

Created 25th October 2018 , last changed 25th October 2018

  
[Debugger.BringToFront](DebuggerBringToFront.md) - [Debugger.GetCallStack](DebuggerGetCallStack.md)

[HTML Version](DebuggerCurrentLineNumber.shtml)