From 769eabb3cc4dfc2d706395760d06ab1870d8abe6 Mon Sep 17 00:00:00 2001 From: Juan Monetta Date: Fri, 19 Jul 2024 09:39:48 -0300 Subject: [PATCH] Update tutorial --- src-dbg/flow_storm/debugger/tutorials/basics.clj | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/src-dbg/flow_storm/debugger/tutorials/basics.clj b/src-dbg/flow_storm/debugger/tutorials/basics.clj index 1bfa1f80..86e878f1 100644 --- a/src-dbg/flow_storm/debugger/tutorials/basics.clj +++ b/src-dbg/flow_storm/debugger/tutorials/basics.clj @@ -43,9 +43,9 @@ It will guide you over the basics and help you get started with FlowStorm.

These are prefixes, so this means that for the `tutorial` word any code compiled under `tutorial`, `tutorial.server`, `tutorial.server.core`, etc, will get instrumented. Normally adding prefixes for the top namespace of your project and some libs you are interested in debugging will be enough.

-

After that, we are done with instrumentation setup for this tutorial.

+

Now we are done with instrumentation setup for this tutorial, so let's go back to the Flows vertical tab , which is called the Flows tool and is what we are going to be using for the rest of the tutorial.

-

Another important control to learn about is the recording button, which is the first one on the tool bar. Clicking it will toggle between recording/paused. Let's leave it on pause for now (you should leave it with the circle icon), we don't want anything to be recorded yet.

+

The next important control to learn about is the recording button, which is the first one on the Flows tool bar. Clicking it will toggle between recording/paused. Let's leave it on pause for now (you should leave it with the circle icon), we don't want anything to be recorded yet.

Now go back to your repl and let's create a tutorial namespace by typing :

@@ -74,11 +74,11 @@ It will guide you over the basics and help you get started with FlowStorm.

This time you should see the debugger UI showing the code stepping tool, which we are going to cover next.

-

This tool is inside a `flow-0` tab, which we are going to ignore for now, and inside a thread tab, probably called `[1] main`.

+

This tool is inside a `flow-0` tab, which we are going to ignore for now, and inside a thread tab, probably called `[1] main` if you are running your repl from a terminal.

This is the thread recordings exploration tab, which contains tools for exploring this thread execution.

-

Whenever you see a red refresh button next to a thread tab, it means that the UI still doesn't have the latest recordings, click it to refresh it.

+

Whenever you see a red refresh button next to a thread tab, it means that the UI status is outdated for the thread, click it to refresh it.

On the next slide we will start exploring the execution.

@@ -154,7 +154,9 @@ It will guide you over the basics and help you get started with FlowStorm.

Give it a shot, double click on the factorial call with arguments `[4]` to jump exactly to where `(factorial 4)` was called.

-

And that is it for the code exploring tools! Next we will learn about FlowStorm data exploring tools, so when you are ready click next.

+

And that's it for the basic code exploring tools. There are more tools under the `More tools` menu but they are out of the scope of this tutorial!

+ +

Next we will learn about FlowStorm data exploring tools, so when you are ready click next.

" @@ -262,9 +264,7 @@ Cannot invoke \"Object.getClass()\" because \"x\" is null

And that is all for the basics. If you find any issues or suggestions feel free to open a issue in https://github.com/flow-storm/flow-storm-debugger

-

Now you are ready to go add it to your current projects! give it a try!

- -

https://flow-storm.github.io/flow-storm-debugger/user_guide.html#_clojurestorm

+

Now you are ready, so go and add it to your projects ! Give it a try!

Bye!

"