In text:

1. Download “”  from 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  “”  located at  “MySql.Data\Provider\” inside the extracted archive.

3. Add this project’s reference to your project (

4. Now you can debug into methods.

Sadly, Visual Studio 2005 or 2008 dont have capability to format Javascript code…  I guess Ctrl+K, Ctrl+D  command only formats  C# and other .net languages…..    So if you are using a third party javascript which has been compacted or badly formatted and now you want to tweak it you are out of luck….

But luckily, there are some excellent online tools to do that job though..

Check out

I wish visual studio comesup with that capability in future versions…