NetTalk Central

Author Topic: Debugview quit working  (Read 6429 times)

Jim A

  • Full Member
  • ***
  • Posts: 203
    • View Profile
    • Email
Debugview quit working
« on: April 01, 2013, 10:24:54 AM »
I rely heavily on debugview to see what's happening behind the scenes.  All at once, it no longer shows the messages coming from my NTWS app.  I reinstalled debugview, but no joy.

I'm using 7.07 under C6 if that matters.

Thanks.

Rene Simons

  • Hero Member
  • *****
  • Posts: 650
    • View Profile
Re: Debugview quit working
« Reply #1 on: April 01, 2013, 01:55:26 PM »
Hi Jim,

Do you have anynfiltering active in debugview?

Rene
Rene Simons
NT14.14

Jim A

  • Full Member
  • ***
  • Posts: 203
    • View Profile
    • Email
Re: Debugview quit working
« Reply #2 on: April 01, 2013, 01:57:01 PM »
No, not that I'm aware of.  When I check the Filter settings, it's same as usual;  *.

Thanks.

Poul

  • Full Member
  • ***
  • Posts: 160
    • View Profile
Re: Debugview quit working
« Reply #3 on: April 01, 2013, 02:01:39 PM »
did you untick or change  any of the logging options on your nettalk Global extension?

Jim A

  • Full Member
  • ***
  • Posts: 203
    • View Profile
    • Email
Re: Debugview quit working
« Reply #4 on: April 01, 2013, 02:10:50 PM »
Thanks Poul, that's it. I appreciate having a lot of options -- just have trouble remembering where everything is.

Much obliged.

CaseyR

  • Sr. Member
  • ****
  • Posts: 448
    • View Profile
    • Email
Re: Debugview quit working
« Reply #5 on: April 04, 2013, 10:51:48 AM »
I have the same problem after updating to NT 7 (7.07) and StringTheory 1.77.    The problem appears to be limited the p_web._Trace, since dll and object messages appear in Debugview .    I have tried different options in the Log File tab of the NT Global Extension without getting any of the p_web._Trace messages to appear.    The NT documentation doesn't cover the Log File tab so I have left it with just Add NetTalk => 1 define turned on.   That define is showing in the Conditional Compile Symbols.

I suspect its a bug in StringTheory, but if anyone has another solution it would be greatly appreciated.

Many thanks.

estadok

  • Jr. Member
  • **
  • Posts: 84
    • View Profile
    • EstaSoft
    • Email
Re: Debugview quit working
« Reply #6 on: April 05, 2013, 03:29:24 AM »
Same problem... :( _Trace() doesn't work
« Last Edit: April 05, 2013, 03:32:32 AM by estadok »
Clarion 9.0.10376
NetTalk 7.26
SecWin 6.25
StringTheory 1.92

terryd

  • Hero Member
  • *****
  • Posts: 759
    • View Profile
    • Davcomm
    • Email
Re: Debugview quit working
« Reply #7 on: April 08, 2013, 11:26:02 PM »
Me too
Terry Davidson
Windows 10 64 bit/Windows7 64bit
Clarion 9.1.11529/Clarion10 12567
Nettalk 913
Nettalk 1015
StringTheory267/Winevent515/XFiles298/MessageBox239/Cryptonite186

robirenz

  • Jr. Member
  • **
  • Posts: 88
    • View Profile
    • Email
Re: Debugview quit working
« Reply #8 on: April 09, 2013, 08:21:11 AM »
so how do we get debugview to work again, I don't get the trace either...

Larry Sand

  • Full Member
  • ***
  • Posts: 101
    • View Profile
Re: Debugview quit working
« Reply #9 on: April 09, 2013, 02:13:06 PM »
Open StringTheory.clw and go to about line 1912 and you should see:

  stOutPutDebugString(szMsg)

Change it to:

  stOutPutDebugString(pMsg)

Here's the entire trace method:

StringTheory.Trace Procedure(<string errMsg>)
szMsg         cString(len(errMsg)+6)
pMsg          &Cstring
  code
    if omitted(2) 
        pMsg &= new cstring(self.LengthA()+6)
        pMsg = '[st] ' & self.GetValue()
        stOutPutDebugString(pMsg)
        dispose(pMsg)
    else
        szMsg = '[st] ' & Clip(errMsg)
        stOutPutDebugString(szMsg)
    end


Note that one call to outputdebugstring() uses pMsg and the other uses szMsg.

Larry Sand

Bruce

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 11250
    • View Profile
Re: Debugview quit working
« Reply #10 on: April 10, 2013, 12:52:09 AM »
Hi Larry,

thanks for the post.

cheers
Bruce

Larry Sand

  • Full Member
  • ***
  • Posts: 101
    • View Profile
Re: Debugview quit working
« Reply #11 on: April 10, 2013, 12:27:03 PM »
Hey Bruce,
You're welcome.
Larry Sand