Skip to content

Commit 78582ac

Browse files
Docs: chore: "Debug suspend functions" after proofread
1 parent d986122 commit 78582ac

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

docs/topics/debug-coroutines-with-idea.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -108,7 +108,7 @@ If you use `suspend` functions, in the debugger, you might see the "was optimise
108108
![Variable "a" was optimised out](variable-optimised-out.png)
109109
110110
This text means that the variable's lifetime was decreased, and the variable doesn't exist anymore.
111-
Debugging code with optimised variables is hard because you don't see their values.
111+
It is difficult to debug code with optimised variables because you don't see their values.
112112
You can disable this behavior with the `-Xdebug` compiler option.
113113

114114
> __Never use this flag in production__: `-Xdebug` can [cause memory leaks](https://youtrack.jetbrains.com/issue/KT-48678/Coroutine-debugger-disable-was-optimised-out-compiler-feature#focus=Comments-27-6015585.0-0).

docs/topics/debug-flow-with-idea.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -109,7 +109,7 @@ If you use `suspend` functions, in the debugger, you might see the "was optimise
109109
![Variable "a" was optimised out](variable-optimised-out.png)
110110
111111
This text means that the variable's lifetime was decreased, and the variable doesn't exist anymore.
112-
Debugging code with optimised variables is hard because you don't see their values.
112+
It is difficult to debug code with optimised variables because you don't see their values.
113113
You can disable this behavior with the `-Xdebug` compiler option.
114114

115115
> __Never use this flag in production__: `-Xdebug` can [cause memory leaks](https://youtrack.jetbrains.com/issue/KT-48678/Coroutine-debugger-disable-was-optimised-out-compiler-feature#focus=Comments-27-6015585.0-0).

0 commit comments

Comments
 (0)