targets/plc_debug.c
7 months ago Edouard Tisserant All Runtimes: Now sizeof(tick)=4 on all platforms (unsigned int).
7 months ago Edouard Tisserant C++ runtime: WIP. Continue PLCObject implementation.
11 months ago Edouard Tisserant Fix variable forcing. Now works with eRPC. PLCObject API changed.
22 months ago Edouard Tisserant Cosmetic fix in plc_debug.c template
2022-10-12 Edouard Tisserant runtime: remove forgotten printf at starup when retain memory is restored.
2022-07-22 Edouard Tisserant Runtime: Retain: fix missuse of static classifier leading to ever increasing offset.
2022-03-02 Edouard Tisserant runtime, retain: remove forgotten debug code.
2021-12-15 Edouard Tisserant Runtime: Now retain uses a list based on data available in VARIABLES.csv instead of traversing the whole instance tree looking for RETAIN flag. RuntimeLists
2021-12-09 Edouard Tisserant RUNTIME: Variable forcing now uses limited list and buffer instead of systematical instance tree traversal and in-tree "fvalue" to keep track of forced value for pointed variables (external, located). Pointer swapping is performed when forcing externals and located, with backup being restored when forcing is reset. Retain still uses tree traversal. RuntimeLists
2021-12-01 Edouard Tisserant RUNTIME: Variable trace now uses limited list and buffer instead of flags in instance tree that was requiring systematical instance tree traversal, and worst size buffer. Forcing and retain still use tree traversal. RuntimeLists
2020-01-14 Edouard Tisserant plc_debug.c/var_acces.c : whitespace cleanup and other cosmetic changes
2019-08-26 Edouard Tisserant variable access code moved from plc_debug.c to targets/var_access.c for easiewr re-use in ext.
2019-01-06 Andrey Skvortsov Make online debug optional
2018-06-18 Andrey Skvortsov Fix compilation warning/error: comparison between signed and unsigned integer expressions [-Werror=sign-compare]
2018-06-01 Andrey Skvortsov Add helper function GetRetainSize()
2017-09-12 Andrey Skvortsov make possible to turn off at compile time online debugging, logging
2017-04-11 Andrey Skvortsov fix problem with debugging external string variables
2016-04-18 Andrey Skvortsov fix many compilation warnings about static variables used by non-static functions
2015-03-14 Edouard Tisserant Added log message when RETAIN memory not valid
2015-03-13 Edouard Tisserant Added PLCID variable accessible from C side, set with binarie's MD5. Added retain init and cleanup calls. Extended tests/python to test PLCID
2015-01-29 Edouard Tisserant Optimized plc_debug.c generated code. Should produce smaller code size. Added statically initialized array for PLC tracable variable description.
2014-03-29 Edouard Tisserant Fixed unused variable in plc_debug.c
2013-04-28 Edouard Tisserant Optimzed tracing of STRING type variables value. Now, only used size is transfered in debug buffer.
2013-03-15 Edouard Tisserant Re-organized C code templates for plc_main. Moved logging out of plc_debug. Factorized redundant _common_ticktime external declaration
2013-03-07 Laurent Bessard Fix warning with LogMessage function
2013-03-04 Edouard Tisserant Made logging compatible with windows API
2013-02-26 Edouard Tisserant Introduce Beremiz Native POU library. Now LOGGER POU is part of Beremiz' native POU library
2013-02-05 Edouard Tisserant Fixed crash (segfault) when logging debug messages
2013-02-02 Edouard Tisserant Added log messages time-stamping
2013-01-30 Edouard Tisserant Now logging have 4 levels
2013-01-29 Edouard Tisserant Log redirected to console, dump of all available log to console when connecting to PLC
2013-01-24 Edouard Tisserant Experimental logging feature in PLC debug
2013-01-22 Edouard Tisserant Python runtime now dlopens shared library immediatly after transfer, and release it only immediately before reloading a new one. This is probably going to reveal lot of dirty cleanups during start/stop cycles.
2011-12-09 laurent Fixing bug in forcing variables in runtime debug thread
2011-09-08 laurent Fix debugger bug after merging matiec repositories
2011-05-18 Edouard Tisserant debugger : forcing %M and %Q variables on each cycle, and rework of code for optimization and concision
2011-03-25 Edouqrd Tisserant Fix typo in plc_debug.c
2011-03-16 edouard Also retain when debugger is stalled
2011-03-16 edouard More robust retain buffer validity management
2011-02-24 edouard Retain variable for LPC
2009-12-15 edouard LPC transfer tested, added PLCInfo along MD5 checksum while invoking makefile
2009-12-14 laurent Adding support for hard forcing located output
2009-12-11 laurent Bug on testing Retain and Force flags fixed
2009-12-11 edouard Fixed debug again, did some code tidying
2009-12-10 edouard LPC connector - one step further
2009-12-09 laurent Error in value send when debugging forced external or located variable fixed
2009-12-09 edouard fixed greg's crap in win32, enhanced debug stability, implemented preliminary retain
2009-12-07 Edouard TISSERANT Arbitrary variable forcing
2009-12-06 Edouard TISSERANT Debugger still doesn't work crash less...
2009-12-04 edouard Reflect changes in iec type definitions in matiec/lib
2009-12-02 Edouard TISSERANT Preliminary accessor support for debug
2009-10-22 greg Fix some warnings during compilation
2009-09-21 laurent Adding support for forcing tick count to return to zero as the same time than all tasks firing are synchronized
2009-09-16 laurent Bug on debug buffer test resulting in not transmitting debug data under specific conditions fixed
2009-09-02 laurent Applying patch from Iztok for old gcc versions
2009-04-10 greg fixed bug : buffer overflow when debugging PLC with python blocks
2008-12-23 etisserant Added native (not a plugin) asynchronous python eval function block - Beta. Code cleanup in C code templates.
2008-09-07 greg fixed : bug in debugthreadproc (plugger.py)
2008-09-05 etisserant Fixed bad IPC choice for debugger/PLC/control thread collaboration
2008-09-04 etisserant Now debug all ticks, not only odd ones :-)