Community
Participate
Working Groups
1- create a post-mortem launch 2- leave the corefile field empty to trigger a prompt 3- in the prompt, press cancel I see this error popup as a dialog: Error in final launch sequence Sub-request RequestMonitor (org.eclipse.cdt.dsf.concurrent.DataRequestMonitor@190cdc5): Status CANCEL: unknown code=1 null was canceled and not handled.' The logs show the following: !ENTRY org.eclipse.cdt.dsf.gdb 4 5012 2011-10-26 13:08:42.466 !MESSAGE Error in final launch sequence !STACK 1 org.eclipse.core.runtime.CoreException: Sub-request RequestMonitor (org.eclipse.cdt.dsf.concurrent.DataRequestMonitor@24539d): Status CANCEL: unknown code=1 null was canceled and not handled.' at org.eclipse.cdt.dsf.concurrent.Query.get(Query.java:114) at org.eclipse.cdt.dsf.gdb.launching.GdbLaunchDelegate.launchDebugSession(GdbLaunchDelegate.java:213) at org.eclipse.cdt.dsf.gdb.launching.GdbLaunchDelegate.launchDebugger(GdbLaunchDelegate.java:100) at org.eclipse.cdt.dsf.gdb.launching.GdbLaunchDelegate.launch(GdbLaunchDelegate.java:89) at org.eclipse.debug.internal.core.LaunchConfiguration.launch(LaunchConfiguration.java:854) at org.eclipse.debug.internal.core.LaunchConfiguration.launch(LaunchConfiguration.java:703) at org.eclipse.debug.internal.ui.DebugUIPlugin.buildAndLaunch(DebugUIPlugin.java:928) at org.eclipse.debug.internal.ui.DebugUIPlugin$8.run(DebugUIPlugin.java:1132) at org.eclipse.core.internal.jobs.Worker.run(Worker.java:54) !SUBENTRY 1 org.eclipse.cdt.dsf 4 10005 2011-10-26 13:08:42.467 !MESSAGE Sub-request RequestMonitor (org.eclipse.cdt.dsf.concurrent.DataRequestMonitor@24539d): Status CANCEL: unknown code=1 null was canceled and not handled.'
Created attachment 206027 [details] Fix to propagate cancellation This patch propagates the cancellation of one request monitor to its parent, so that the cancellation is properly handled. I will commit to master.
Committed to master. Mikhail, can you review?
*** cdt git genie on behalf of Marc Khouzam *** Bug 362105: Cancelling a launch during the prompt for the corefile gives an error [*] http://git.eclipse.org/c/cdt/org.eclipse.cdt.git/commit/?id=e4aed35b52b3147454de80a8793c912d617dc68f
Looks good.