Announcement

Collapse
No announcement yet.

alerts

Collapse
X
  • Filter
  • Time
  • Show
Clear All
new posts

  • alerts

    Hi ,

    How to put alerts for debugging.

    TIA


    Regards,
    Hanumanth.

  • #2
    In menu application in the left panel you can set debug options so that ie. the sql statements are shown before execution. Otherwize you can create a log file and put your logs into that. You can create a standard logfile for sc and then add your own logs to it using a macro.
    Albert Drent
    aducom software netherlands
    scriptcase partner, reseller, support and (turn-key) development
    www.scriptcase.eu / www.scriptcase.nl

    Comment


    • #3
      Originally posted by hpol135 View Post
      How to put alerts for debugging.
      I use this code for that:

      PHP Code:
      function debugprint($var)
      {
        echo 
      '<pre>';  
        echo 
      '<br>BEGIN DEBUGPRINT<br>';  
        
      print_r($var);
        echo 
      '<br> END DEBUGPRINT<br>';
        echo 
      '</pre>';
        echo 
      '<br>';

      I put this function in a public library and use it in code via debugprint($varname);
      Best regards: - Reinhard -

      I use ScriptCase 8 Enterprise Edition, Version 8.(latest)

      Comment


      • #4
        Almost the same way. I needed to wrap my calling code inside <iframe> tags. Thanks!
        Are you worried about itil v3 exam prep and cisco ccent certification practice Test king Check out our latest resources for www.holycross.edu dumps and University of Kansas questions for practice

        Comment

        Working...
        X