Skip to content

Commit ed7981f

Browse files
[Docs] Update section about integrated repl that was removed in Debugging the compiler docs file
1 parent 64e9d0b commit ed7981f

File tree

1 file changed

+5
-10
lines changed

1 file changed

+5
-10
lines changed

docs/DebuggingTheCompiler.md

+5-10
Original file line numberDiff line numberDiff line change
@@ -206,17 +206,12 @@ Conformances:
206206
(integer_literal_expr type='Int2048' location=test.swift:3:10 range=[test.swift:3:10 - line:3:10] value=0)))
207207
```
208208

209-
When using the integrated swift-repl, one can dump the same output for each
209+
When using swift LLDB REPL, one can dump the same output for each
210210
expression as one evaluates the expression by enabling constraints debugging by
211-
typing `:constraints debug on`:
212-
213-
$ swift -frontend -repl -enable-objc-interop -module-name REPL
214-
*** You are running Swift's integrated REPL, ***
215-
*** intended for compiler and stdlib ***
216-
*** development and testing purposes only. ***
217-
*** The full REPL is built as part of LLDB. ***
218-
*** Type ':help' for assistance. ***
219-
(swift) :constraints debug on
211+
passing the flag `-Xfrontend -debug-constraints`:
212+
213+
$ swift repl -Xfrontend -debug-constraints
214+
1> let foo = 1
220215

221216
## Debugging on SIL Level
222217

0 commit comments

Comments
 (0)