etherlab/__init__.py
author Edouard Tisserant
Tue, 02 Aug 2022 11:50:54 +0200 (2022-08-02)
changeset 3577 6c7a7b22bec9
parent 2274 5cb9ef5351cc
child 3750 f62625418bff
permissions -rw-r--r--
IDE+Runtime: fix exception when reconnecting with non-empty trace/force list.

Sometimes, remote call to SetTraceVariableList returned None just after reconnecting:
- changed caller to accept None (in case of connection problem)
- changer SetTraceVariable list to return 4 (DEBUG_SUSPENDED) if debug is suspended
from __future__ import absolute_import

from etherlab.etherlab import *
from util.BitmapLibrary import AddBitmapFolder
import util.paths as paths

AddBitmapFolder(os.path.join(paths.AbsDir(__file__), "images"))