Jump to content

Photo

Replacements for the ZConsole

zconsole script debugger log logging

  • Please log in to reply
No replies to this topic

#1 ZoriaRPG

ZoriaRPG

    The Timelord

  • ZC Developers
  • Gender:Unspecified
  • Location:Prydon Academy

Posted 13 June 2019 - 10:59 AM

I rewrote the ZConsole stuff. We now have a much smarter pair of consoles (ZScript Debugger, which is basically a new implementation of ZConsole, but it runs from a consolehelper.exe file, terminating it does not close ZC, it should work with MSVC16/Win10 compiling, it supports multiple windows, and colour text.

 

The second is a ZASM stack print console. Slow as hell with heavy ZASM use, but it's a WIP.

 

I need to figure out how to expand the max lines of the console, The value seems to be constant, which is a bit boggling.

 

The new debugger does nice stuff, such as when you call Trace() functions, it reports the script calling the trace, too. It reports the script that throws an error, and other goodies, all in colour-coded text based on the type of output.

 

If you launch it after a quest is open, it reports the version of ZC in which the quest was made immediately.

 

ZASM Debugger

ZASM_Debugger.png

 

Errors are RED, Logging is Amber, Script Types.Names are GREEN

ZScript_Debugger.png

 

Traces are WHITE

ZScript_DebuggerTrace.png

 

Version is CYAN

ZScript_Debugger2.png

 

Again, you can have multiple windows open, and they remain open after changing/leaving the quest, for post-mortem. You can close them either via ZC, or just by closing the window.  Doing this no longer closes ZC.

 

The original console remains available for people who want it.

 


  • venrob likes this



Also tagged with one or more of these keywords: zconsole, script, debugger, log, logging

0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users