newLISP Fan Club

Forum => Anything else we might add? => Topic started by: mikerudin39 on July 24, 2017, 05:22:26 AM

Title: wanted (net-debug ...)
Post by: mikerudin39 on July 24, 2017, 05:22:26 AM
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
Title: Re: wanted (net-debug ...)
Post by: HPW on July 24, 2017, 08:18:24 AM
Quote2. debugging for embedded dll - no console at all...


But the dll-call returns the error-message.



Regards
Title: Re: wanted (net-debug ...)
Post by: TedWalther on July 24, 2017, 11:30:18 PM
Quote from: "mikerudin39"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.
Title: Re: wanted (net-debug ...)
Post by: Lutz on July 27, 2017, 10:38:01 AM
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.