debugme icon indicating copy to clipboard operation
debugme copied to clipboard

Implement using conditions

Open gaborcsardi opened this issue 7 years ago • 4 comments

That will allow debugging subprocesses.

gaborcsardi avatar Oct 01 '18 10:10 gaborcsardi

Can you elaborate?

krlmlr avatar Jul 11 '19 08:07 krlmlr

Instead of cat(), we use message() with a custom class, and support top level handlers. E.g. you can have a top level handler that can do something special with the debug messages, put them on an RStudio pane, etc.

gaborcsardi avatar Jul 11 '19 08:07 gaborcsardi

What about color?

krlmlr avatar Jul 11 '19 08:07 krlmlr

That's fine. If the condition is not muffled, then we still cat(), with color.

gaborcsardi avatar Jul 11 '19 08:07 gaborcsardi