Features
Debugging
Breakpoints, stepping, variables and watch — new in 1.1.
Overview
Kiln 1.1 has a real debugger for Python, JavaScript, C and C++. It pauses your program where you ask and lets you look inside it.
Start debugging
- Click in the gutter to the left of a line number to set a breakpoint (a red dot), or press Ctrl+F8 on that line.
- Press F9, or click the bug button in the top bar.
- Your program runs until it reaches a breakpoint, then pauses. The line about to run is highlighted.
| Key | While debugging |
|---|---|
| F5 | Continue to the next breakpoint |
| F10 | Step over (run this line) |
| F11 | Step into a function |
| Shift+F11 | Step out of the function |
| F6 | Pause |
| Shift+F5 | Stop |
| Ctrl+Shift+F5 | Restart |
The Run and Debug view
Open it with Ctrl+Shift+D. It shows Variables (click to expand lists, objects and structs), Watch expressions you add, the Call stack, your Breakpoints, the program’s Output, and an evaluate box to try an expression while paused. If your program reads input, type it in the Program input box before you start.
What each language uses
- Python: debugpy (the debugger VS Code uses), included with Kiln.
- JavaScript: Node’s built-in inspector.
- C and C++: gdb. Kiln’s Windows C++ install includes it; on Linux install gdb with your package manager. macOS isn’t supported yet (Apple ships a different debugger).
When you’re not debugging, F10 still starts Step through for Python and JavaScript.