Sign In Register

How can we help you today?

Start a new topic

Stepping through should pause after the last line to review the final var/changes

For example, let's say my last line is :


var result = doSomethingComplex();


After the result is in, the debugger closes and I'll never know what the result was. Even if the function doSomethingComplex() ends with return 4, I'll never see the result of that value.


The workaround is to make an arbitrary var like var wait = "review your stuff";

1 Comment

Hi Dylan,


You could set the returned value to scriptData with the following.

 

Spark.setScriptData("result", value)

 

Would that suffice for your needs here ? You'll get the result in the Test Harness inspector window.


Regards,

Liam

Login to post a comment