summaryrefslogtreecommitdiffstats
path: root/scilab
diff options
context:
space:
mode:
authorCedric Delamarre <cdl@esi-group.com>2020-12-02 16:26:26 +0100
committerCedric Delamarre <cdl@esi-group.com>2020-12-02 16:26:31 +0100
commitf57b04c14fa74471425ed96710d642132478f1c2 (patch)
tree67f3514392ebc63be48b57a4e376ba06df6965fb /scilab
parenta65902e29f9e3f5b9daadf80d6d95ca4f44fb1cd (diff)
downloadscilab-f57b04c14fa74471425ed96710d642132478f1c2.zip
scilab-f57b04c14fa74471425ed96710d642132478f1c2.tar.gz
allow breakpoints in graphic callbacks bis
Change-Id: I943fbf644dc83a97122e75d436a56afb6a2178a1
Diffstat (limited to 'scilab')
-rw-r--r--scilab/modules/action_binding/src/c/InterpreterManagement.c14
1 files changed, 13 insertions, 1 deletions
diff --git a/scilab/modules/action_binding/src/c/InterpreterManagement.c b/scilab/modules/action_binding/src/c/InterpreterManagement.c
index b0b05d5..8c18f73 100644
--- a/scilab/modules/action_binding/src/c/InterpreterManagement.c
+++ b/scilab/modules/action_binding/src/c/InterpreterManagement.c
@@ -42,7 +42,19 @@ int putCommandInScilabQueue(char *command)
42*/ 42*/
43int requestScilabExec(char *command) 43int requestScilabExec(char *command)
44{ 44{
45 return StorePrioritaryCommand(command); 45 if(isEnableDebug())
46 {
47 if(isDebugInterrupted())
48 {
49 return 1;
50 }
51
52 return debuggerManagerExecute(command);
53 }
54 else
55 {
56 return StorePrioritaryCommand(command);
57 }
46} 58}
47/*--------------------------------------------------------------------------*/ 59/*--------------------------------------------------------------------------*/
48int interruptScilab(void) 60int interruptScilab(void)