1. After setting it as a target, right-click the test case in the ‘Unit Test’ view and click ‘Check Debug Information’
  2. Build the user project directly or execute the build script registered in the ‘target environment’ setting in the controller tester project
  3. Verify that the build was successful
  4. Restore the original source by opening the project in Controller Tester
  5. After running Trace32, open the cmm script file (start.cmm) and execute ‘debug’ (Controller_Tester_project_path/.csdata/target/start.cmm)
  6. Click the ‘step’ button to go to the first line of the target.cmm script
  7. Add breakpoint to ‘Go.Hll’ in target.cmm file
  8. Click ‘Var’ > ‘Show Function’
  9. Double-click after searching for the function to be tested
  10. Add breakpoint at the beginning of the function
  11. Click the ‘step’ button and confirm that the debugging point moves to the location specified in step 10.
  12. ‘Var’ > ‘Show Local…’ . Click to confirm that the value of the local variable changes
  13. Run up to the debugging point

Need more help with this?
Don’t hesitate to contact us here.

Thanks for your feedback.