Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
[ptp-dev] Multiple job with breakpoint

Hi Greg,

I remembered you mentioned that you want to remove all breakpoint markers if the job is changed. For example, job0 contains 3 breakpoints. If the job is changed to job1, these 3 breakpoints will be removed. If changed back to job0, these 3 breakpoints will appear again. Currently what I have done is that I removed the breakpoint icon only if the job is changed. That mean the breakpoint marker is still here and only change its icon to null. There are two reasons I did like this.

1. If removed the marker if the changed is changed, the breakpoint manager will notice that changed. It may cause debugger to removing the breakpoint. Or the breakpoint cannot be hit if the job is changed.

2. In the breakpoints view, there should contain different types of breakpoints, such as java breakpoint, parallel breakpoint and cdt breakpoint. If I removed some parallel breakpoints when the job is changed, it seems not quite standard.

How do you think?

Regards,
Clement


Back to the top