Skip to content

Commit e2f8adb

Browse files
SporarumKordyjan
authored andcommitted
Fix cause.md
[Cherry-picked ebca289]
1 parent dc977ab commit e2f8adb

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

docs/_docs/contributing/issues/cause.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ the tree was generated by looking for its unique ID, and then generating a stack
3838
3. Run the compiler with `-Ydebug-tree-with-id <tree-id>` flag. The compiler will print a stack trace
3939
pointing to the creation site of the tree with the provided ID.
4040

41-
If you are using a debugger, you can add a breakpoint in the `ownId == debugId` section of method `allocateId` of `Positioned.scala` (you will still need the flag), this will allow you to navigate the stack with more ease.
41+
If you are using a debugger, you can add a breakpoint after `if ownId == debugId then` in method `allocateId` of `Positioned.scala` (you will still need the flag), this will allow you to navigate the stack with more ease.
4242
Do not use a conditional breakpoint, the time overhead is very significant for a method called as often as this one.
4343

4444
### Enhanced Tree Printing

0 commit comments

Comments
 (0)