| Summary: | Need a way to control the half second delay in SteppingControler | ||||||
|---|---|---|---|---|---|---|---|
| Product: | [Tools] CDT | Reporter: | Dobrin Alexiev <dalexiev> | ||||
| Component: | cdt-debug-dsf | Assignee: | Anton Leherbauer <aleherb+eclipse> | ||||
| Status: | RESOLVED FIXED | QA Contact: | Pawel Piech <pawel.1.piech> | ||||
| Severity: | normal | ||||||
| Priority: | P3 | CC: | aleherb+eclipse, pawel.1.piech | ||||
| Version: | 7.0 | ||||||
| Target Milestone: | 7.0.2 | ||||||
| Hardware: | PC | ||||||
| OS: | Windows XP | ||||||
| Whiteboard: | |||||||
| Attachments: |
|
||||||
|
Description
Dobrin Alexiev
In our debugger we handle this case by providing cached frame information as long as a step is in progress, instead of returning an error because the target is running. This avoids the flicker (collapsing of the thread node). But, it's also no problem to make the delay customizable for debugger implementations. A simple setStepTimeout(int) should do, I suppose? (In reply to comment #1) > In our debugger we handle this case by providing cached frame information as > long as a step is in progress, instead of returning an error because the target > is running. This avoids the flicker (collapsing of the thread node). > But, it's also no problem to make the delay customizable for debugger > implementations. A simple setStepTimeout(int) should do, I suppose? Adding public setStepTimeout(int) to the class SteppingController will work for me. May be it should be pared with getStepTimeout for completeness. Created attachment 177814 [details]
Patch for review
This is what I intend to commit. Please review.
The proposed change satisfies my request. Thanks you. Committed to HEAD. The proposed change satisfies my request. Thanks you. Tony, can we have this change in CDT 7.0.x as well? SteppingController is provisional API, so I think this should be OK. Committed also to cdt_7_0. |