Re: Re: update

Ryan's picture
Offline
Joined: 08/07/2007
Juice: 15450
Re: Re: update

Hmm... I think those should work, but I haven't used them myself. When I need to display debug info, I usually do this:

<?php
  drupal_set_message
('<pre>'. print_r($variable, TRUE) .'</pre>');
?>

You can also put debug benchmarks in the code, like dsm(1);, dsm(2);, etc. at various points in the module to see what parts get executed and where it goes awry.

Protx payment gateway - has it been done? By: mccool (37 replies) Mon, 12/10/2007 - 07:06