Home » U++ Library support » U++ Core » BETA status handling
Re: BETA status handling [message #52478 is a reply to message #52466] |
Sun, 06 October 2019 13:56 |
|
koldo
Messages: 3361 Registered: August 2008
|
Senior Veteran |
|
|
Thank you Mirek. However that is not exactly the same.
InstallPanicMessageBox() and SetAssertFailedHook() let to install panic handlers.
However, in case of the ASSERTs, this only works in DEBUG mode. Please check this code in Defs.h:
#ifdef _DEBUG
#define ASSERT_(x, msg) ((x) ? (void)0 : ::Upp ::AssertFailed(__FILE__, __LINE__, msg))
#define ASSERT(x) ASSERT_(x, #x)
#else
inline void LOGNOP__() {}
#define LOG_NOP Upp::LOGNOP__()
#define ASSERT_(x, msg) LOG_NOP
#define ASSERT(x) LOG_NOP
#endif Out of DEBUG, ASSERTs seem to do nothing, as are disconnected to AssertFailed().
Best regards
IƱaki
|
|
|
|
|
BETA status handling
By: koldo on Wed, 18 September 2019 15:18
|
|
|
Re: BETA status handling
By: mirek on Wed, 18 September 2019 15:40
|
|
|
Re: BETA status handling
By: koldo on Wed, 18 September 2019 17:26
|
|
|
Re: BETA status handling
By: mirek on Wed, 18 September 2019 18:24
|
|
|
Re: BETA status handling
By: koldo on Wed, 18 September 2019 18:47
|
|
|
Re: BETA status handling
By: mirek on Thu, 03 October 2019 16:10
|
|
|
Re: BETA status handling
By: koldo on Sun, 06 October 2019 13:56
|
|
|
Re: BETA status handling
By: mirek on Mon, 07 October 2019 10:23
|
|
|
Re: BETA status handling
By: koldo on Tue, 08 October 2019 09:19
|
|
|
Re: BETA status handling
By: mirek on Tue, 08 October 2019 10:30
|
|
|
Re: BETA status handling
By: koldo on Tue, 08 October 2019 16:54
|
Goto Forum:
Current Time: Wed May 08 20:06:56 CEST 2024
Total time taken to generate the page: 0.02091 seconds
|