wanted (net-debug ...)

For the Compleat Fan

wanted (net-debug ...)

Postby mikerudin39 » Mon Jul 24, 2017 12:22 pm

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
Posts: 2
Joined: Mon Jul 24, 2017 10:15 am

Re: wanted (net-debug ...)

Postby HPW » Mon Jul 24, 2017 3:18 pm

2. debugging for embedded dll - no console at all...

But the dll-call returns the error-message.

Posts: 1367
Joined: Thu Sep 26, 2002 9:15 am
Location: Germany

Re: wanted (net-debug ...)

Postby TedWalther » Tue Jul 25, 2017 6:30 am

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.
Posts: 603
Joined: Mon Feb 05, 2007 1:04 am
Location: Abbotsford, BC

Re: wanted (net-debug ...)

Postby Lutz » Thu Jul 27, 2017 5:38 pm

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.
Posts: 5268
Joined: Thu Sep 26, 2002 4:45 pm
Location: Pasadena, California

Return to Anything else we might add?

Who is online

Users browsing this forum: No registered users and 1 guest