Hi, I was bored to always use sys_err when troubleshooting systems and problems.
So I decided to write a printer
METIN2_DEBUG_TRACE
When the Destroy function is called, DEBUG_TRACE will print that text intro the putty console.
In this way you can see if your function is really called and when is called.
- Debug_Trace can't have arguments
METIN2_DEBUG_TRACE_ARGS
- It's same as DEBUG_TRACE but you can add arguments.
- This will print intro Putty console the CClientManager::SendShops and the pid number.
METIN2_DEBUG_SAY
- Say it's same as these two, but you can add it more times in a function body (debug_trace and debug_trace_args can be added just one in a function)
Bitte melden Sie sich an, um dieses Bild zu sehen.
Here i used to debug some login issues.
Bitte melden Sie sich an, um diesen Link zu sehen.
Good luck with developing,.
For any issue message me.