make use of the symlink, to ease things (#1608)
This commit is contained in:
parent
12f5d8d84f
commit
4ccbe9182c
|
|
@ -155,7 +155,7 @@ This uses the stage1 compiler and enables `debug!` logging for the
|
||||||
|
|
||||||
The other option is to step through the code using lldb or gdb.
|
The other option is to step through the code using lldb or gdb.
|
||||||
|
|
||||||
1. `rust-lldb build/x86_64-apple-darwin/stage1/bin/rustc test.rs`
|
1. `rust-lldb build/host/stage1/bin/rustc test.rs`
|
||||||
2. In lldb:
|
2. In lldb:
|
||||||
1. `b upvar.rs:134` // Setting the breakpoint on a certain line in the upvar.rs file`
|
1. `b upvar.rs:134` // Setting the breakpoint on a certain line in the upvar.rs file`
|
||||||
2. `r` // Run the program until it hits the breakpoint
|
2. `r` // Run the program until it hits the breakpoint
|
||||||
|
|
|
||||||
|
|
@ -361,9 +361,9 @@ from the directory where it is built (does not have to be "installed"):
|
||||||
"request": "launch",
|
"request": "launch",
|
||||||
"name": "Launch",
|
"name": "Launch",
|
||||||
"args": [], // array of string command-line arguments to pass to compiler
|
"args": [], // array of string command-line arguments to pass to compiler
|
||||||
"program": "${workspaceFolder}/build/TARGET/stage1/bin/rustc",
|
"program": "${workspaceFolder}/build/host/stage1/bin/rustc",
|
||||||
"windows": { // applicable if using windows
|
"windows": { // applicable if using windows
|
||||||
"program": "${workspaceFolder}/build/x86_64-pc-windows-msvc/stage1/bin/rustc.exe"
|
"program": "${workspaceFolder}/build/host/stage1/bin/rustc.exe"
|
||||||
},
|
},
|
||||||
"cwd": "${workspaceFolder}", // current working directory at program start
|
"cwd": "${workspaceFolder}", // current working directory at program start
|
||||||
"stopOnEntry": false,
|
"stopOnEntry": false,
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue