Bug 560274 - Race condition when updating debug toolbar button states

This change adjusts the scheduling rule when updating toolbar command
enablement via
"org.eclipse.debug.internal.core.commands.ForEachCommand", e.g. the
suspend toolbar enabled button state.

The new rule is exclusive per command, as opposed to exclusive per
selection type. I.e. before, debug target updates were exclusive, stack
frame updates were exclusive, etc. Now, disconnect command updates are
exclusive, suspend command updates are exclusive, etc.

Change-Id: Ia22232b0a55c3aba429bc980ec5a26eb238afd44
Signed-off-by: Simeon Andreev <simeon.danailov.andreev@gmail.com>
1 file changed