NetTalk Central

Author Topic: Avoid ouput to Debug View  (Read 5535 times)

Alberto

  • Hero Member
  • *****
  • Posts: 1873
    • MSN Messenger - alberto-michelis@hotmail.com
    • View Profile
    • ARMi software solutions
    • Email
Avoid ouput to Debug View
« on: February 20, 2019, 11:57:56 AM »
Runnning a very simple exe which gets a web page, Im seeing this in Debugview.
How to avoid this?
-----------
Regards
Alberto

DonRidley

  • Don Ridley
  • Global Moderator
  • Hero Member
  • *****
  • Posts: 729
  • donaldridley2011@gmail.com
    • View Profile
    • Email
Re: Avoid ouput to Debug View
« Reply #1 on: February 20, 2019, 02:48:01 PM »
Is NetTalk logging turned on?

"Eliminate the impossible, whatever remains, however unlikely, must be the truth."

NetTalk 12.55
Clarion 11

Alberto

  • Hero Member
  • *****
  • Posts: 1873
    • MSN Messenger - alberto-michelis@hotmail.com
    • View Profile
    • ARMi software solutions
    • Email
Re: Avoid ouput to Debug View
« Reply #2 on: February 20, 2019, 03:27:29 PM »
Its turned off
-----------
Regards
Alberto

Bruce

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 11251
    • View Profile
Re: Avoid ouput to Debug View
« Reply #3 on: February 20, 2019, 09:46:55 PM »
Check project defines for
NetShowSend and NetShowReceive. If there set both to 0.

cheers
Bruce

Bruce

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 11251
    • View Profile
Re: Avoid ouput to Debug View
« Reply #4 on: February 20, 2019, 10:49:30 PM »
in netwww.clw,
circa line 556
comment out...
  self._CommandURLst.trace('command len=' .....


Alberto

  • Hero Member
  • *****
  • Posts: 1873
    • MSN Messenger - alberto-michelis@hotmail.com
    • View Profile
    • ARMi software solutions
    • Email
Re: Avoid ouput to Debug View
« Reply #5 on: February 21, 2019, 03:40:05 AM »
Looking for NetShowxxxx Having or not theres no difference at all.
Ive Commented the trace line and the url is not traced, thats ok, but...
What ll happen in the next release?
and
why the other lines are still traced?
Thanks
-----------
Regards
Alberto

Bruce

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 11251
    • View Profile
Re: Avoid ouput to Debug View
« Reply #6 on: February 22, 2019, 12:14:12 AM »
Trace statements are usually removed before release, although sometimes some slip through.
If you are seeing any you need to send me a screen-shot so I can find them.

cheers
Bruce

Alberto

  • Hero Member
  • *****
  • Posts: 1873
    • MSN Messenger - alberto-michelis@hotmail.com
    • View Profile
    • ARMi software solutions
    • Email
Re: Avoid ouput to Debug View
« Reply #7 on: February 22, 2019, 05:54:04 AM »
May be, just an idea, a check in the templates to turn trace output on and off?

here it goes:

1   0.000000   4144   wsetpst.exe   [st] [netTalk][thread=1] self._CommandText.GetValue()=[
2   0.000000   4144   wsetpst.exe   Accept: image/gif, image/x-xbitmap, image/jpeg, image/pjpeg, */*
3   0.000000   4144   wsetpst.exe   Accept-Language: en
4   0.000000   4144   wsetpst.exe   Accept-Encoding: gzip
5   0.000000   4144   wsetpst.exe   User-Agent: Mozilla/5.0 (Windows; U; Windows NT 6.0; en-US; rv:1.9.2.16) Gecko/20110319 Firefox/3.6.16 ( .NET CLR 3.5.30729; .NET4.0C)
6   0.000000   4144   wsetpst.exe   Host: www.armisoftware.com
7   0.000000   4144   wsetpst.exe   Content-Length: 0
8   0.000000   4144   wsetpst.exe   Connection: Keep-Alive
9   0.000000   4144   wsetpst.exe   
10   0.000000   4144   wsetpst.exe   ]
11   0.868809   4144   wsetpst.exe   before close 0
12   0.913697   4144   wsetpst.exe   after close
-----------
Regards
Alberto