# s command (FlashBASIC Debugger)

The s command displays the contents
of the subroutine stack.

## Syntax

```
{flash.routine.name:}s{!}
```

## Description

The ! lists
the actual lines of source where the gosub statements
are found (FlashBASIC only).

Note: *flash.routine.name* can only be specified if the program has been optimized through
the FlashBASIC compiler. When *flash.routine.name* is specified, the corresponding debugger command
is executed against the specified routine. The colon separating *flash.routine.name* and the debugger command
is required.

## See also

- [$! command](https://d3codex.com/flashbasicdebugger/dollar-exclamation-command/)
- [?! command](https://d3codex.com/flashbasicdebugger/question-exclamation-command/)
- [BASIC/FlashBASIC Debugger](https://d3codex.com/flashbasicdebugger/basic-flashbasic-debugger/)
- [down command](https://d3codex.com/flashbasicdebugger/down-command/)
- [PROC buffers](https://d3codex.com/proc/proc-buffers/)
- [r command (FlashBASIC Debugger)](https://d3codex.com/flashbasicdebugger/r-command-flashbasic-debugger/)
- [PROC buffers](https://d3codex.com/proc/proc-buffers/)
- [up command](https://d3codex.com/flashbasicdebugger/up-command/)

---
Source: https://d3codex.com/flashbasicdebugger/s-command-flashbasic-debugger/ - part of the D3Codex reference.
