OC Systems

Home | Contact | Advanced Search 


How do I log the value of a string parameter?

ap_StringValue is a macro which logs everything from the address provided up to the first null character:

probe thread
  probe <subprogram>
      log("NameParam = ",
      // $1 refers to the string which is the 
      // first parameter of the <subprogram>

Aprobe Technology Overview

Schedule a web demo

Contact us