Join 34,000+ subscribers and receive articles from our
blog about software quality, testing, QA and security.

[FEATURE] Watch on Demand


#1

Hello,

What do you think about following feature:

-User presses in Console button “get Watch”, enters watch Name.
-Console sends request to application that uses named pipes for connection with console.
-Application receives an event for getWatchRequest.
-Application calls tSiSession.Watch****(.) or logObject() method
-Console displays requested value.

This way it could be possible to make logging more interactive.

best regards
Piotr Rezmer


#2

Hello Piotr,

I like the idea of having a way to request variable values and other data from the application via the Console and log protocol in general and I can see where this would be useful. We have also toyed with the idea of adding a TCP server protocol that would allow you to connect to an application via TCP (instead the other way around), but this would be a problematic feature technically.

Adding a way to request variable values from an application would require us to have an extra thread in the library that would listen for requests and process them. We try hard not to alter the behavior of applications that use SmartInspect whenever possible, and adding an additional thread and processing logic would counter this goal.

I will add this to our feature request list though and we will consider it for a future release.

Regards,
Dennis