File tree Expand file tree Collapse file tree 2 files changed +3
-3
lines changed
Expand file tree Collapse file tree 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
155155
156156The other option is to step through the code using lldb or gdb.
157157
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 `
1591592 . In lldb:
160160 1 . ` b upvar.rs:134 ` // Setting the breakpoint on a certain line in the upvar.rs file`
161161 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"):
361361 " request" : " launch" ,
362362 " name" : " Launch" ,
363363 " 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" ,
365365 " 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"
367367 },
368368 " cwd" : " ${workspaceFolder}" , // current working directory at program start
369369 " stopOnEntry" : false ,
You can’t perform that action at this time.
0 commit comments