14

I have a set of breakpoints which I used for debugging one issue. When I want to debug something else, these breakpoints are annoying, so I need to disable/delete them. However, I feel that I might want to be able to recreate the first set of breakpoints later.

Is it possible to save all currently active breakpoints so that you can switch between different sets of breakpoints with just one operation?

If I have 30 breakpoints, it would be very tedious to recreate/reenable them all manually.

4

3 に答える 3

14

Eclipse (デバッグ パースペクティブ -> ブレークポイント) で、すべてのブレークポイントを選択し、右クリックして、ブレークポイントをエクスポートします。

于 2012-07-05T08:58:19.520 に答える
6

ブレークポイント ワーキング セットを使用できます。Eclipse のヘルプを参照してください。

于 2012-07-05T09:00:36.140 に答える
0

[ブレークポイント] タブが見つからない場合は、次の場所で開きますWindow > Show View > Breakpoints

次に、前に述べたように: Ctrl+A to select all breakpoints > right click > Export Breakpoints....

于 2021-04-27T17:28:50.490 に答える