LabWindows/CVI

cancel
Showing results for 
Search instead for 
Did you mean: 

Tracepoints

I was looking at the latest features in CVI 2017 and came across Tracepoints. I found the blurb below in the Help section and online, but nothing further. This sounds like a great feature and one direxctly applicable to my current work.

 

Is there an example or deeper discussion? Where do you turn them on? How are they applied? What are the limitations? Examples?

 

Tracepoints

Tracepoints are breakpoints associated with user-specified actions that allow you to set automatic debug logging when a particular source code location executes. Tracepoints can be used to alter the execution flow.

Tracepoints help you answer the following questions during a debugging session:

  • Which function does my program execute?
  • What values does my variable have at a specific source location?
  • What is my current call stack, thread ID, and so on at a specific source location?
  • How did the value of my variable change over time at a specific source location?
0 Kudos
Message 1 of 4
(3,081 Views)

Hi scottrod,

 

You can create and edit a tracepoint by simply creating a regular breakpoint and right clicking on it.

 

-Mitchell | NI

0 Kudos
Message 2 of 4
(3,029 Views)

Nice addition, but where's the text printed by a tracepoint ? I can't see it anywhere, even if I activate console mode in the target settings.

0 Kudos
Message 3 of 4
(2,339 Views)

The output is printed into "Debug Output" window that you can open from "Windows" menu.

Message 4 of 4
(2,280 Views)