# edit command (BASIC/FlashBASIC Debugger)

The edit command invokes the Update
processor for editing the current program from within the BASIC/FlashBASIC
debugger. It automatically positions the cursor at the current execution
line number.

Note: This command can only be used on items compiled with
the o (optimal compile) option.

## Syntax

```
 edit
```

## See also

- [b command (FlashBASIC Debugger)](https://d3codex.com/flashbasicdebugger/b-command-flashbasic-debugger/)
- [BASIC/FlashBASIC Debugger](https://d3codex.com/flashbasicdebugger/basic-flashbasic-debugger/)
- [compile command](https://d3codex.com/tcl/compile-command/)
- [d command (FlashBASIC Debugger)](https://d3codex.com/flashbasicdebugger/d-command-flashbasic-debugger/)
- [debug statement](https://d3codex.com/pickbasic-flashbasic/debug-statement/)
- [de command (FlashBASIC Debugger)](https://d3codex.com/flashbasicdebugger/de-command-flashbasic-debugger/)
- [k command](https://d3codex.com/flashbasicdebugger/k-command/)
- [Update processor overview](https://d3codex.com/updateprocessor/update-processor-overview/)
- [paint command](https://d3codex.com/tcl/paint-command/)
- [Referencing variables](https://d3codex.com/flashbasicdebugger/referencing-variables/)
- [u command (FlashBASIC Debugger)](https://d3codex.com/flashbasicdebugger/u-command-flashbasic-debugger/)
- [update command](https://d3codex.com/tcl/update-command/)

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