wanted (net-debug ...)

Started by mikerudin39, July 24, 2017, 05:22:26 AM

Previous topic - Next topic

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

#1
Quote2. debugging for embedded dll - no console at all...


But the dll-call returns the error-message.



Regards
Hans-Peter

TedWalther

#2
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.
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

#3
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.