Welcome Forex EA downloads & MT4/MT5 auto-trading resources — EAs, Gold EAs, quant tools and real-world automation.
Sign In Sign Up

MQL Plus Enhanced Debugging Support - MetaTrader 5 Library | MT5 EA Download - MetaTrader 5 Resources

author EAcpu | 2 reads | 0 comments |

MQL Plus Enhanced Debugging Support - library for MetaTrader 5

MQL Plus Enhanced Debugging Support - library for MetaTrader 5

Has three functional domains. - Debugging, tracing and performance measurement

- Easily use "Print any variable" to expert log with one command.

- Tracing and debugging "If", "for" and "while" statement evaluations.

- Tracing calls to MQL built-in functions

- Measure the runtime of operations and functions.

- Highly customizable if needed.

- Integrate into your project temporarily or permanently.

- Licensed under GPLv2. This basically means that the changes you make need to be returned to the original author. Everything else is up to you.

The current version is 5.50

- Changelog from previous version 5.12

- MQL-API-Tracer: trace data lost in recursive calls

- Added API event tracker for MQL5

- Added dynamic object creation tracker

- Added program lifecycle tracker

- Fixed signature of MQL-API functions

- Added missing functionality

- Fixed an issue where preprocessor macros could not be compiled

- Added MQL5 standard library support

- Bug fixes from v 5.11 to v5.12

- Fixed multidimensional array support in MQLAPI-Tracer

- Fixed an issue with DBG_MSG_EVAL_* macros calling functions twice (if given as arguments to the macro).

- Bug fixes from v 5.1 to v5.11

- MQLAPI-Tracer: Fixed issue with enumerations throwing compilation errors on alerts/annotations/prints/printf

- Fixed multidimensional array support (more fixes to MQLAPI-Tracer may be needed)

- Updated library's printf output system.

- MQL API tracker containing MQL5 pure code, currently does not support the MQL standard library.

- Most macros have been rewritten and are now faster.

- MQL-API Tracker directly supports error code tracking.

- Minor compatibility issues resolved.

- Type parsing has been enhanced, in particular enumeration parsing for built-in enums now works correctly again.

The library is compatible with MQL4 and MQL5.

I would like to express my gratitude for the significant contributions that helped complete this extensive project. Without constant testing and verification of code functionality and contributions to usability, the quality would not be as high as it is now.

Thank you @amrali

Finally, a library that provides a set of tools for developing code should and must meet very high standards, so as a user you can rely on the output and feedback provided by the library. - I myself found various errors in mql5 and was able to track them down with the help of this library. Focus on quality as much as possible, even after extensive testing I'm sure there will still be some bugs.

If you encounter problems please let me know.

All add-ons are freely configurable. All code inclusion has been done in preprocessor macros.

A complete list and detailed description is included in the main header file.

Comprehensive examples can be found in the Experts/LibDebug_Example/ directory


Attachment download

📎 lib_debug.mqh (33.38 KB)

📎 lib_debug_definitions.mqh (20.42 KB)

📎 lib_debug_disable.mqh (8.62 KB)

📎 lib_debug_function_trace_macros.mqh (6.19 KB)

📎lib_debug_functions.mqh (32.1 KB)

📎 lib_debug_global_event_handler_tracer.mqh (32.33 KB)

📎 lib_debug_global_program_tracer.mqh (12.92 KB)

📎 lib_debug_macros.mqh (14.68 KB)

📎 lib_debug_mqlapi_definitions.mqh (24.94 KB)

📎 lib_debug_mqlapi_tracer.mqh (16.36 KB)

📎 lib_debug_mqlapi_tracer_mql4.mqh (158.96 KB)

📎 lib_debug_mqlapi_tracer_mql5.mqh (357.75 KB)

📎 lib_debug_mqlapi_tracer_mql5_stdlib.mqh (27.91 KB)

📎 lib_debug_mqlapi_tracer_mql5_stdlib_injector.mqh (14.34 KB)

📎 lib_debug_mqlapi_tracer_mql45.mqh (478.25 KB)

📎 lib_debug_mqlapi_tracer_mql45_vararg.mqh (805.23 KB)

📎 lib_debug_mqlapi_tracer_overwrite_macros.mqh (303.88 KB)

📎 lib_debug_printf.mqh (19.77 KB)

📎 lib_debug_type_to_string.mqh (159.86 KB)

📎 lib_perf_counter_disable.mqh (2.07 KB)

📎 lib_perf_counter_functions.mqh (7.95 KB)

📎 lib_perf_counter_macros.mqh (7.26 KB)

📎 lib_debug_customconfig.mqh (16.88 KB)

📎 libdebug.mq5 (40.57 KB)

📎 libdebug_apitracer.mq5 (6.77 KB)

📎libdebug_integrated.mq5 (15.8 KB)

📎 libdebug_simple.mq5 (13.81 KB)

📎 libdebug_runtime.mq5 (12.87 KB)

📎 libdebug_performance.mq5 (12.9 KB)

📎 lib_debug_customconfig.mqh (16.55 KB)

Source: MQL5 #32071

Verification code Refresh