is it possible to add a new message to the TraceMessage collection of a TraceWindow?
If I try the following code (using Python and COM):
Code: Select all
newMsg = tracer.Messages.Add()
Code: Select all
"(-2147352567, 'Ausnahmefehler aufgetreten.', (0, None, None, None, 0, -2147418113), None)"
=> "Schwerwiegender Fehler".
Code: Select all
print("Count:", tracer.Messages.Count)
However, it would be nice to extend the message list of a TraceWindow in order to implement custom message filter which e.g. inspects the message data.
Thank you for your help