MySQL 8.0.40
Source Code Documentation
|
See https://dev.mysql.com/doc/refman/8.0/en/source-installation.html
The easiest way to install a server, and attach a debugger to it, is to start the mysql-test-run (MTR) tool with debugging options
cd mysql-test ./mtr --ddd main.parser
The following functions are good candidates for breakpoints:
Replace 'main.parser' with another test script, or write your own, to debug a specific area.