Page 1 of 1

wanted (net-debug ...)

Posted: Mon Jul 24, 2017 12:22 pm
by mikerudin39
newlisp's debugger is good thing except in two cases:
1. debugging code for web-daemon - debugger's output falls to browser :-(
2. debugging for embedded dll - no console at all...

would be nice to have (net-debug ip port func) - to connect by tcp to debug console
(something telnet-like, but listening port.)

...by the way: to (trace-highlight ) would be fine to have separate markers for entry and for exit.
for exampe to use different coloring escape-sequentions

Re: wanted (net-debug ...)

Posted: Mon Jul 24, 2017 3:18 pm
by HPW
2. debugging for embedded dll - no console at all...
But the dll-call returns the error-message.

Regards

Re: wanted (net-debug ...)

Posted: Tue Jul 25, 2017 6:30 am
by TedWalther
mikerudin39 wrote:2. debugging for embedded dll - no console at all...
Lutz did add an embedded DLL call that keeps the console output as normal. I forget what he called it. Should be in the documentation. He added it at my request 2 years ago. Should still be there in the API.

Re: wanted (net-debug ...)

Posted: Thu Jul 27, 2017 5:38 pm
by Lutz
Import ‘debugConsole’ from newlisp.dll and call it do reopen std I/O for newlisp.dll. This was introduced in the Windows version 10.3.2 of newLISP and is not documented.