Since debugger options are turned on after compiling the program, there's no proper way to handle them memory-wise.
However, creating a seperate structure for them makes it possible not to allocate memory at the beginning, if debugger is not turned on.
Moreover, later on there might be more debugger specific options (ie. context reset), therefore we can save more memory.
IoT.js-DCO-1.0-Signed-off-by: Daniel Balla dballa@inf.u-szeged.hu
Since debugger options are turned on after compiling the program, there's no proper way to handle them memory-wise. However, creating a seperate structure for them makes it possible not to allocate memory at the beginning, if debugger is not turned on. Moreover, later on there might be more debugger specific options (ie. context reset), therefore we can save more memory.
IoT.js-DCO-1.0-Signed-off-by: Daniel Balla dballa@inf.u-szeged.hu