wanted (net-debug ...)

For the Compleat Fan
Locked
mikerudin39
Posts: 2
Joined: Mon Jul 24, 2017 10:15 am

wanted (net-debug ...)

Post 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

HPW
Posts: 1390
Joined: Thu Sep 26, 2002 9:15 am
Location: Germany
Contact:

Re: wanted (net-debug ...)

Post by HPW »

2. debugging for embedded dll - no console at all...
But the dll-call returns the error-message.

Regards
Hans-Peter

TedWalther
Posts: 608
Joined: Mon Feb 05, 2007 1:04 am
Location: Abbotsford, BC
Contact:

Re: wanted (net-debug ...)

Post 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.
Cavemen in bearskins invaded the ivory towers of Artificial Intelligence. Nine months later, they left with a baby named newLISP. The women of the ivory towers wept and wailed. "Abomination!" they cried.

Lutz
Posts: 5289
Joined: Thu Sep 26, 2002 4:45 pm
Location: Pasadena, California
Contact:

Re: wanted (net-debug ...)

Post 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.

Locked