NetTalk Central

Author Topic: ds_debug and web server  (Read 3141 times)

dmoyer

  • Newbie
  • *
  • Posts: 21
    • View Profile
    • Email
ds_debug and web server
« on: November 13, 2011, 05:46:18 PM »
Is ds_debug() not supported in a webserver?  I can't get it to work in my app, and just tried one of the examples and I do not get any output.

dmoyer

  • Newbie
  • *
  • Posts: 21
    • View Profile
    • Email
Re: ds_debug and web server
« Reply #1 on: November 13, 2011, 09:37:05 PM »
Hmmm, I added the ClarionLive UltimateDebug class to this NTWS, and it works just fine.

Bruce

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 11250
    • View Profile
Re: ds_debug and web server
« Reply #2 on: November 14, 2011, 12:36:44 AM »
Hi Dave,

NetTalk has a _trace method for sending stuff to Debugview.
eg

p_web._trace('Hi Joe')

Cheers
Bruce

dmoyer

  • Newbie
  • *
  • Posts: 21
    • View Profile
    • Email
Re: ds_debug and web server
« Reply #3 on: November 14, 2011, 04:23:06 AM »
What do you know, the _trace method works.  I didn't expect ds_debug to be ignored, but this will work.  Thanks!