File tree 2 files changed +3
-3
lines changed
2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -155,7 +155,7 @@ This uses the stage1 compiler and enables `debug!` logging for the
155
155
156
156
The other option is to step through the code using lldb or gdb.
157
157
158
- 1 . ` rust-lldb build/x86_64-apple-darwin /stage1/bin/rustc test.rs `
158
+ 1 . ` rust-lldb build/host /stage1/bin/rustc test.rs `
159
159
2 . In lldb:
160
160
1 . ` b upvar.rs:134 ` // Setting the breakpoint on a certain line in the upvar.rs file`
161
161
2 . ` r ` // Run the program until it hits the breakpoint
Original file line number Diff line number Diff line change @@ -361,9 +361,9 @@ from the directory where it is built (does not have to be "installed"):
361
361
" request" : " launch" ,
362
362
" name" : " Launch" ,
363
363
" args" : [], // array of string command-line arguments to pass to compiler
364
- " program" : " ${workspaceFolder}/build/TARGET /stage1/bin/rustc" ,
364
+ " program" : " ${workspaceFolder}/build/host /stage1/bin/rustc" ,
365
365
" windows" : { // applicable if using windows
366
- " program" : " ${workspaceFolder}/build/x86_64-pc-windows-msvc /stage1/bin/rustc.exe"
366
+ " program" : " ${workspaceFolder}/build/host /stage1/bin/rustc.exe"
367
367
},
368
368
" cwd" : " ${workspaceFolder}" , // current working directory at program start
369
369
" stopOnEntry" : false ,
You can’t perform that action at this time.
0 commit comments