Книга: Embedded Linux development using Eclipse

Filtering

Filtering

Filtering lets you restrict a breakpoint to some subset of threads. Suppose, for example, you have several threads running the same code. You might set a breakpoint in the code, but you’re really only interested in stopping one particular thread. You can restrict the breakpoint to just that thread. We’ll look at multi-threaded debugging in the next chapter.

At this point it might be useful to let the program execute to line 42, nrecs+=10.  Disable the breakpoint. Select line 42 in the Editor window and right-click for the context menu in the text area, not the marker bar. It’s worth noting that the context menus for the marker bar and text area are substantially different. Select Run to Line. The program executes to the selected line. This is simply an alternate form of execution control.

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

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

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