Difference: AssertationLogging (5 vs. 6)

Revision 62022-01-01 - PeterSchmid

Line: 1 to 1
 
META TOPICPARENT name="WebHome"
%DASHBOARD{ section="banner"
Line: 25 to 25
 assert ( flag n u -- ) abort if flag is false and assertion is activated, log n and u after restart assert? ( -- flag ) Was there an assert? assert# ( -- u ) How many asserts occurred since cold startup?
Changed:
<
<
assert@ ( -- n u ) Assert number and parameter e.g. address where the assert occurred .assert ( n u -- ) Print assert message
>
>
assert@ ( -- u1 u2 ) Assert number u1 and parameter u2 e.g. address where the assert occurred .assert ( u -- ) Print assert message
 

If logging is activated (CFG_LOG_MSG defined) the logs are written to

 
This site is powered by the TWiki collaboration platform Powered by PerlCopyright © 2008-2024 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
Ideas, requests, problems regarding TWiki? Send feedback