How to debug MySQL Connector Library in Visual Studio
December 25, 2009
1. Download “mysql-connector-net-6.2.2-src.zip” from http://dev.mysql.com/downloads/connector/net/ and extract the zip file. Note that we need ‘src’ version of library if we want to debug in visual studio.
2. Open your Visual Studio Solution and add “Mysql.data.csproj” located at “MySql.Data\Provider\” inside the extracted archive.
3. Add this project’s reference to your project (mysql.data).
4. Now you can debug into mysql.data methods.