Forum Discussion

Blake_Bryce's avatar
Blake_Bryce
Occasional Contributor
8 years ago

Possible to show parameter passed to function in call stack log?

Is it possible to add a column to the call stack to see the argument being passed to the function? Currently I see Type, Test, Unit Name, Line No. 

1 Reply

  • tristaanogre's avatar
    tristaanogre
    Esteemed Contributor

    As far as I know, not "out of the box" with TestComplete.  You would have to write something in your code to do so.

    If you're debugging, there's a tab called "locals" which I believe, if you're at a breakpoint, shows values of variables and parameters that are inscope for where your breakpoint is set.  But for actually being written out to the log, that's something you'd have to write yourself.  

     

    If you're writing JavaScript/JScript, you have the arguments object within a function that will give you the property count and values for each one.