<html><body><div style="color:#000; background-color:#fff; font-family:times new roman, new york, times, serif;font-size:12pt"><div class="" style="">Hi,</div><div class="" style=""><br class="" style=""></div><div class="" style="background-color: transparent;">Forgive me for this silly question. I am newbie to Vtiger development. I have read the wiki on debug techniques and wanted to print a variable to browser using trigger error. I tried using trigger error like below.</div><div class="" style="background-color: transparent;"><br class="" style=""></div><div class="" style="background-color: transparent;">trigger_error('TempDebug: $smallArray=<PRE>"'.print_r($smallArray, TRUE) .'"</PRE>');<br class="" style=""></div><div class="" style="background-color: transparent;"><br class="" style=""></div><div class="" style="background-color: transparent;">Of course, I did change the variable name matching my code. The above statement did not work
for me.</div><div class="" style="background-color: transparent;"><br class="" style=""></div><div class="" style="background-color: transparent;">Thanks,</div><div class="" style="background-color: transparent;"><br class="" style=""></div><div class="" style="background-color: transparent;">Sachin R</div><div id="yiv5495832922" class="" style=""><div class="" style=""><div style="color:#000;background-color:#fff;font-family:times new roman, new york, times, serif;font-size:12pt;" class=""><div id="yiv5495832922yui_3_16_0_1_1407546825238_35532" class="" style=""></div></div></div></div></div></body></html>