Enter an interactive debugging loop¶
ss_debug
is a function defined in ssdebug.c.
Synopsis:
-
herr_t
ss_debug
(void)¶
Description: Read and execute debugging commands if the commands’ word was present in the :ref:`SSLIB_DEBUG <SSLIB> environment variable. The file containing the commands is also specified in SSLIB_DEBUG. See ss_debug_env for complete documentation for that variable. If commands’ is not specified in :ref:`SSLIB_DEBUG <SSLIB> for the calling task or if the command input file is empty then this function is a no-op.
The commands accepted by this function are defined in ss_debug_s. In addition, the command detach’ causes this function to immediately return. The ``ss_debug` function may be called more than once in any given executable.
Return Value: Returns non-negative on success; negative on failure.
Parallel Notes: Independent
See Also:
- ss_debug_env: 22.2: Parse debug setup statements
- ss_debug_s: 22.3: Evaluate a debug command
- Debugging: Introduction for current chapter