Salesforce

How Do I Manipulate Data While Debugging? (Magic xpa 3.x)

« Go Back

Information

 
Created ByKnowledge Migration User
Approval Process StatusPublished
Objective
Description

How Do I Manipulate Data While Debugging? (Magic xpa 3.x)

You can change the data while the debugger is running. You can do this on either the Variables or the Watch pane.

  1. Set your breakpoint so you will pause in a spot within the scope of the variable.

  2. Go to either the Variables pane or the Watch pane, to find the variable you want to change.

  3. Left click on the Value column, or select right-click->Set Data, or click on .

  4. If the variable participates in a recompute, you will be prompted “Do you want all expressions that are affected by the new value to be recomputed?”. Click on the Yes button if you want the expressions to be recomputed.

Reference
Attachment 
Attachment