Jama Connector 23.4

# set-breakpoint

Creates a breakpoint at the specified location in a Lua script. The next time the Lua script runs and reaches the breakpoint, the script pauses and waits for further instructions.

    /action=luaDebug&command=set-breakpoint&file=File
                                           &line=Line
                                          [&session=SessionID]

Type: Synchronous

Parameter Name | Description | Required
--- | --- | ---
`File` | The name of the file in which to set the breakpoint. You can use an absolute or relative path. Relative paths are relative to the Jama Connector installation folder. | Yes
`Line` | The line on which to set the breakpoint. | Yes
`Session` | To set the breakpoint only for scripts run by a specific debugging session, specify a session ID. If you do not set this parameter, the breakpoint applies to every session. You can retrieve a session ID by using the get-status command. | No

## Example

`http://localhost:7000/action=luadebug&command=set-breakpoint&file=scripts/script.lua&line=17`

## Response

    <autnresponse xmlns:autn="http://schemas.autonomy.com/aci/">
      <action>LUADEBUG</action>
      <response>SUCCESS</response>
      <responsedata>
        <data>
          <command>set-breakpoint</command>
        </data>
      </responsedata>
    </autnresponse>

Copyright 2023 Open Text
Version 23.4 | Last updated September 2023

Send documentation feedback

Close

Send documentation feedback

To send feedback using your default email client, open an email window.

Otherwise, send your feedback and the information below to swpdl.idoldocsfeedback@microfocus.com.

We appreciate your feedback!

Product: IDOL Jama Connector 23.4

Topic Title: set-breakpoint