Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
13 changes: 12 additions & 1 deletion book/src/puzzle_09/essentials.md
Original file line number Diff line number Diff line change
Expand Up @@ -343,7 +343,18 @@ Output:
Breakpoint 1: where = mojo`main, address = 0x00000000027d7530
```

The debugger found your main function and will pause execution there.
Or it may look like:

```
Breakpoint 1: no locations (pending).
WARNING: Unable to resolve breakpoint to any actual locations.
```

If the breakpoint appears as pending, this is expected. Mojo programs are JIT-compiled, which means the debugger may not be able to resolve symbols until the program begins execution. In this case the breakpoint is registered, but LLDB cannot yet bind it to a concrete instruction address.

Once execution starts and the module is compiled, LLDB resolves the breakpoint automatically.

In either case the breakpoint has been set successfully and execution will pause there once the program runs.

**Step 2: Start your program**

Expand Down