Книга: Embedded Linux development using Eclipse

Tracepoints

Tracepoints

There are times when you don’t really want to, or can’t, stop the program at the breakpoint, but you would like to monitor its behavior by watching the value of selected variables. Tracepoints are set in the program in much the same way as are breakpoints. When program execution encounters a tracepoint, any variables or expressions attached to it are evaluated and saved. Later, when the program is stopped, you can review the saved data.

Two new views are associated with tracepoints: Tracepoints and Trace Data. The Tracepoints view is where you define and configure tracepoints. Figure 9.7 shows the Tracepoint properties dialog where you can add expressions to be monitored.


Figure 9.7: Tracepoint properties.

The Trace Data view displays collected trace data when the program is stopped. It provides menu items to start and stop tracing, scroll through the collected data, and save the data to a file.

Оглавление книги

Оглавление статьи/книги

Генерация: 1.532. Запросов К БД/Cache: 3 / 1
поделиться
Вверх Вниз