Skip to content

Commit 37c3cee

Browse files
koshachyzoobestik
authored andcommitted
chore: update index.md
minor markup updates
1 parent 4d37030 commit 37c3cee

File tree

1 file changed

+15
-13
lines changed
  • src/pages/news/gsoc-2023-parallel-stacks

1 file changed

+15
-13
lines changed

src/pages/news/gsoc-2023-parallel-stacks/index.md

Lines changed: 15 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,8 @@ Upon initiating the IntelliJ IDEA debugger and encountering a breakpoint, an app
1919

2020
## Coroutine Stacks
2121

22-
Here is a code sample with multiple coroutines:
22+
Consider the following code sample with multiple coroutines:
23+
2324
```kotlin
2425
import kotlinx.coroutines.*
2526

@@ -42,25 +43,26 @@ fun main() = runBlocking<Unit> {
4243
```
4344

4445
Let’s add a breakpoint on the following line:
46+
4547
![breakpoint](image7.png)
4648

47-
To open the Coroutine Stacks panel, click in the bottom right-hand corner of your main IDE panel:
49+
To open the **Coroutine Stacks** panel, click in the bottom right-hand corner of your main IDE panel:
4850

4951
![Open Coroutine Stacks](image5.png)
5052

5153
After the debugger stops at the breakpoint and opens the panel, you will see something like this:
5254

5355
![Coroutine Stacks](image3.png)
5456

55-
The Coroutine Stacks panel shows a graphical representation of different stack traces from different coroutines.
57+
The **Coroutine Stacks** panel shows a graphical representation of different stack traces from different coroutines.
5658

57-
From the image above, it is clear that we have two coroutines in our application. Their stack traces share a number of frames up until resumeWith. After that, the control flow of these coroutines diverges. The stack trace with the blue border refers to the coroutine that contains the current breakpoint. The frames highlighted in yellow come from libraries. You can hide library frames by clicking the filter button:
59+
From the image above, it is clear that there are two coroutines in the application. Their stack traces share a number of frames up until resumeWith. After that, the control flow of these coroutines diverges. The stack trace with the blue border refers to the coroutine that contains the current breakpoint. The frames highlighted in yellow come from libraries. You can hide library frames by clicking the filter button:
5860

5961
![Filter](image8.png)
6062

61-
Now we can see that the stack traces of the two running coroutines only have library frames in common.
63+
Now you can see that the stack traces of the two running coroutines only have library frames in common.
6264

63-
In the example, all coroutines are running on the same dispatcher, but you can switch the dispatcher by using the dropdown menu at the top of the panel:
65+
In the example, all coroutines are running on the same dispatcher, but you can switch the dispatcher by using the dropdown menu at the top of the panel:
6466

6567
![](image2.png)
6668

@@ -85,15 +87,15 @@ You can click on the frames to navigate to the corresponding source code positio
8587
## Installation
8688

8789
1. Go to **Settings / Preferences** | **Plugins** in IntelliJ IDEA.
88-
2. Switch to **Marketplace** and search for **Coroutine Stacks**.
89-
![Install](image4.png)
90-
3. Select the plugin and click Install.
90+
2. Switch to **Marketplace** and search for **Coroutine Stacks**:
91+
92+
![Install](image4.png)
93+
94+
3. Select the plugin and click **Install**.
9195
4. After the installation has been completed, restart the IDE.
9296

93-
## Feel free to contribute!
97+
## Feel Free to Contribute!
9498

95-
This is just the beginning! With new ideas and features, we can improve the tool to cover more use cases. If you’ve found a bug, don’t like how a feature works, or have other feedback, feel free to open an issue in our official GitHub repository:
96-
https://github.com/nikita-nazarov/coroutine-stacks
99+
This is just the beginning! With new ideas and features, we can improve the tool to cover more use cases. If you’ve found a bug, don’t like how a feature works, or have other feedback, feel free to open an issue in our official GitHub repository: [https://github.com/nikita-nazarov/coroutine-stacks](https://github.com/nikita-nazarov/coroutine-stacks)
97100

98101
Thank you to Raehat and Nikita for building an awesome new tool to help developers be more productive!
99-

0 commit comments

Comments
 (0)