LARA

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

phantm:runtime_instrumentation [2010/05/04 15:30]
ekneuss created
phantm:runtime_instrumentation [2010/08/18 00:36] (current)
ekneuss
Line 34: Line 34:
 <​file>​ <​file>​
 $a = $_SESSION['​test'​];​ $a = $_SESSION['​test'​];​
-phantm_dumpanddie(get_defined_vars());​+phantm_collect_state(get_defined_vars());​
 $a = $a . "​foo";​ $a = $a . "​foo";​
 </​file>​ </​file>​
Line 40: Line 40:
 When running the following code like usual, it will die at the point of the call, and create "​.dump"​ files. Those files can be imported back into //phantm//. When running the following code like usual, it will die at the point of the call, and create "​.dump"​ files. Those files can be imported back into //phantm//.
  
-For example, you could use %%--importdump ​last.dump%%.+For example, you could use %%--importState ​last.dump%%.