How to change the thread focus using the Visual Studio Code extension

Whenever I’m debugging using VS Code, if I want to be a specific thread state, I usually do something like:

        if (threadId == 40) {
            printf("hi");
        }

Is there a proper way to focus on a specific thread when executing the debugger?

In the lower right corner of VS Code, you can see the block and thread coordinates. To alter them, you can click on the coordinates, and then adjust them using the syntax:

block (x,y,z) thread (a,b,c)

Here is a screen shot showing where to click, and how to enter new coordinates:

Thank you for the directions, that’s exactly what I was looking for!