diff --git a/doc/manual/source/development/debugging.md b/doc/manual/source/development/debugging.md index 8925b58f257..ecf3fd1f22c 100644 --- a/doc/manual/source/development/debugging.md +++ b/doc/manual/source/development/debugging.md @@ -51,13 +51,14 @@ For macOS systems, use `lldb`: To debug the Nix binary you just run: ```console -[nix-shell]$ gdb --args ./subprojects/nix/nix +[nix-shell]$ gdb --args ../outputs/out/bin/nix + ``` #### On macOS: ```console -[nix-shell]$ lldb -- ./subprojects/nix/nix +[nix-shell]$ lldb -- ../outputs/out/bin/nix ``` ### Using the Debugger