title: How to detect breakpoint is hitting a function in trace32 using lauterbach script?
body: <p>I am modifing the lauterbach script.
  I need to check if the breakpoint is hitting correctly on the same breakpoint which I wanted to hit.</p>
  
  <p>Task_func has a runanble Runnable_Func</p>
  
  <p>I used this piece; </p>
  
  <pre><code>IF STRing.ComPare(sYmbol.FUNCTION(PP()),"*\Runnable_Func")
  PRINT "NICEWORK"
  ELSE
  PRINT "BADCODE"
  </code></pre>
  
  <p>But in this case I am getting the true value for the owned function(Task_Func in this case).</p>
  
  <p>Can I check the same way breakpoint for the runnables
  I need the true condition for Runnable_Func.
  Another try which I did is </p>
  
  <pre><code> &amp;pc=r(pc)
  </code></pre>
  
  <p><code>&amp;call=address.offset(Task_NoAr_Schd_50msfunc\10)</code></p>
  
  <pre><code>IF (&amp;pc==&amp;call)
  </code></pre>
  
  <p>is any other options anyone aware? </p>
  
  <p>Cheers,
  Nilesh</p>