diff options
author | acuccuru | 2013-04-23 10:58:23 +0000 |
---|---|---|
committer | acuccuru | 2013-04-23 10:58:23 +0000 |
commit | 68bf15098f6e3a76d1255b526746fb81318566e6 (patch) | |
tree | 32957cb0f06ef749d8a4122819114d162fdcf07a /sandbox/Moka | |
parent | 21ff564ebbcbd26f46f10157e53fcd293493fc57 (diff) | |
download | org.eclipse.papyrus-68bf15098f6e3a76d1255b526746fb81318566e6.tar.gz org.eclipse.papyrus-68bf15098f6e3a76d1255b526746fb81318566e6.tar.xz org.eclipse.papyrus-68bf15098f6e3a76d1255b526746fb81318566e6.zip |
405389: [Moka] Papyrus shall provide a generic and extendible framework for execution and debugging of models
https://bugs.eclipse.org/bugs/show_bug.cgi?id=405389
Adujstements for management of multi-threaded executions
Diffstat (limited to 'sandbox/Moka')
-rw-r--r-- | sandbox/Moka/org.eclipse.papyrus.moka/src/org/eclipse/papyrus/moka/debug/MokaDebugTarget.java | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/sandbox/Moka/org.eclipse.papyrus.moka/src/org/eclipse/papyrus/moka/debug/MokaDebugTarget.java b/sandbox/Moka/org.eclipse.papyrus.moka/src/org/eclipse/papyrus/moka/debug/MokaDebugTarget.java index c3e0def935a..1851a1321bf 100644 --- a/sandbox/Moka/org.eclipse.papyrus.moka/src/org/eclipse/papyrus/moka/debug/MokaDebugTarget.java +++ b/sandbox/Moka/org.eclipse.papyrus.moka/src/org/eclipse/papyrus/moka/debug/MokaDebugTarget.java @@ -617,6 +617,8 @@ public class MokaDebugTarget extends MokaDebugElement implements IDebugTarget { * Install breakpoints that are already registered with the breakpoint manager
*/
protected void installDeferredBreakpoints() {
+ if (!DebugPlugin.getDefault().getBreakpointManager().isEnabled())
+ return ;
IBreakpoint[] breakpoints = DebugPlugin.getDefault().getBreakpointManager().getBreakpoints(MokaConstants.MOKA_DEBUG_MODEL_ID) ;
for (int i = 0; i < breakpoints.length; i++) {
this.breakpointAdded(breakpoints[i]);
|