About MIPSDK "EnvironmentManager.Instance.TraceFunctionCalls"

I would appreciate if you could give us more information About MIPSDK “EnvironmentManager.Instance.TraceFunctionCalls”

1. Even if “true” is set, whether or not it outputs a debug log changes as follows.

PREREQUISITE: An application that uses ImageViewerControl and PlaybackUserControl to play back real-time and past footage of the camera.

A) When it is displaying real-time video in “ClientLive” mode

→ it doesn’t output debug log

B) When the past video is played in “ClientPlayback”

→ it outputs the following two lines of debug log repeatedly

Debug: PostMessage():SmartClient.PlaybackCurrentTimeIndication to PlaybackUserControlMini.TimeChangedHandler

Debug: PostMessage():SmartClient.PlaybackCurrentTimeIndication to (Returned)PlaybackUserControlMini.TimeChangedHandler

What is the condition for outputting the above debug log?

2. Is it possible to temporarily stop debug log output during application is running and value is set to “true”

(Can you externally override it to false?)

3. Is it possible to set automatic deletion and maximum size of the output log?

  1. Currently, the tracing is not fully implemented to cover all cases. Milestone has no documentation as to what to expect from trace log in.

2. Please see MIP SDK Tray Manager. There is Traces functionality and you can use it. Go to Milestone webpage – Support – download software (https://www.milestonesys.com/support/resources/download-software/) – select MIP SDK(Docs and Tools) in Product and download Milestone SDKTools.

3. No, it is not possible to set automatic deletion and maximum size, unfortunately.