How do i view call stack?

title says it all, i tried looking it up but found nothing

Go to the view tab in studio and there is an option for the call stack.

i meant while the game is running, using a script

If anyone reading is facing this problem I found a solution: try to access a non-existing child/property of an existing object (like workspace) and try to declare any value, like the following:

game.Workspace.asdasdasdasd = "2eiaugbaiegb"

this line will cause an error, and the call stack will show in the output below the error:

Sorry for the 1 year bump