Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
[Cdt-launch-inbox] [Bug 151018] New: Incorrect IProgressMonitor handling in AbstractCLaunchDelegate

https://bugs.eclipse.org/bugs/show_bug.cgi?id=151018 
Product/Component: CDT / cdt-launch

           Summary: Incorrect IProgressMonitor handling in
                    AbstractCLaunchDelegate
           Product: CDT
           Version: 3.0.2
          Platform: PC
        OS/Version: Windows XP
            Status: NEW
          Severity: normal
          Priority: P3
         Component: cdt-launch
        AssignedTo: cdt-launch-inbox@xxxxxxxxxxx
        ReportedBy: tom.hochstein@xxxxxxxxxxxxx


The IProgressMonitor passed into AbstractCLaunchDeleate.preLaunchCheck(),
buildForLaunch(), and finalLaunchCheck() is not handled according to the
contract specified in the following white paper:

http://www.eclipse.org/articles/Article-Progress-Monitors/article.html

and thus suffers from some of the problems mentioned in the paper, like
incorrect work counts and multiple beginTask()/done() pairs on the same
monitor.  The latter is particularly problematic for me because I am trying to
provide a command-line launch command which must be synchronous to support
scripting.

I have a proposed fix which I will post once I have reviewed it here.



-- 
Configure bugzilla e-mail: https://bugs.eclipse.org/bugs/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.


Back to the top