At least some of the debug decorator can be turned on by putting 
“ShowRouterDebugGraphics=1” in your kicad_advanced file (a text file in your 
kicad preferences directory).  I’m not sure if that turns on all of it or not….

I’ve only used the logging stuff once.  I broke in the debugger and called 
saveRouterDebugLog().  (But I’m sure there’s a more automated way to do it.)

> On 8 Jul 2023, at 15:58, Stuart Tyler <[email protected]> wrote:
> 
> Thank you  for the tip on setting the launch environment variable  
> KICAD_ALLOC_CONSOLE. That worked. Now I can see printf() output.
> 
> Jeff, I have been seeing the decorator stuff in the code. What is the 
> standard way of turning this on? I also see LOGs being used. m_logger->Log(). 
> I follow this to being pushed onto m_events and accessed in method TOOL_EVENT.
> 
> What I am missing is how to access m_events from the screen or a log file. A 
> pointer to accessing the decorator and logs would be appreciated.
> 
> Ta
> Stuart
> 
> 
> 
> -- 
> You received this message because you are subscribed to the Google Groups 
> "KiCad Developers" group.
> To unsubscribe from this group and stop receiving emails from it, send an 
> email to [email protected] <mailto:[email protected]>.
> To view this discussion on the web visit 
> https://groups.google.com/a/kicad.org/d/msgid/devlist/6563552f-9a63-485b-a75e-b9455f31cd8dn%40kicad.org
>  
> <https://groups.google.com/a/kicad.org/d/msgid/devlist/6563552f-9a63-485b-a75e-b9455f31cd8dn%40kicad.org?utm_medium=email&utm_source=footer>.

-- 
You received this message because you are subscribed to the Google Groups 
"KiCad Developers" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/a/kicad.org/d/msgid/devlist/297535D7-4177-411F-8B31-C39EFF0B7C3F%40rokeby.ie.

Reply via email to