Forum Discussion

Varunawasthi's avatar
Varunawasthi
Occasional Contributor
7 years ago

Call Stack

While running the Test Script I want to see which Function and inside which method is getting executed but always I see call Stack as Blank only when I pause the Test Run then I see what is running.

 

Is there any option/Setting which can Enable and see what running runtime?

 

Also on Top Left we see only Delay its running is there any way to change to see what function and what method there too?

 

Thanks in advance.

2 Replies

  • cunderw's avatar
    cunderw
    Community Hero

    If you want to always see the call stack in your logs (by default it only shows on errors) use:

    Log.CallStackSettings.EnableStackOnCheckpoint

    Log.CallStackSettings.EnableStackOnError

    Log.CallStackSettings.EnableStackOnEvent

    etc... there are several options, they show up in the auto complete or documentation. Just set those values to true.

     

    You can do it globally in an on test start event handler.