Also retain when debugger is stalled
authoredouard
Wed, 16 Mar 2011 18:01:07 +0100
changeset 581 57605e8e89f0
parent 580 9dd978e6537c
child 582 bb5d0367bf32
Also retain when debugger is stalled
targets/plc_debug.c
--- a/targets/plc_debug.c	Wed Mar 16 17:26:54 2011 +0100
+++ b/targets/plc_debug.c	Wed Mar 16 18:01:07 2011 +0100
@@ -214,6 +214,9 @@
              * Trigger asynchronous transmission 
              * (returns immediately) */
             InitiateDebugTransfer(); /* size */
+        }else{
+            /* when not debugging, do only retain */
+            __for_each_variable_do(RetainIterator);
         }
         LeaveDebugSection();
     }else{