Thank you very much, I will definitely try this out!! -----Original Message----- From: Miguel Angel Solorzano [mailto:[EMAIL PROTECTED] Sent: Thursday, February 05, 2004 8:04 PM To: Ananth Raghuraman; Miguel Angel Solorzano Cc: [EMAIL PROTECTED]; [EMAIL PROTECTED] Subject: RE: Debugging MySql Source in Visual C++
At 02:13 5/2/2004, Ananth Raghuraman wrote: Hi, >Thanks for the info! >I am already able to debug the server startup. >I would like it to stop >at someother point, perhaps a point where a SELECT statement is executed >for example.. In this case you can start your debug server (mysqld.exe) with the parameters --console --standalone --debug. The last option will create a file called mysqld.trace in the C:\ root directory, then using the mysql client execute the statement you want to debug. Shutdown the server and open the above file and you should see e.g.: [EMAIL PROTECTED] : >dispatch_command [EMAIL PROTECTED] : | query: select * from user [EMAIL PROTECTED] : | >mysql_parse [EMAIL PROTECTED] : | | >mysql_init_query now opening your VC++ stuff do a search for "mysql_parse", open the file and analyze where you can put a break point. Regards, For technical support contracts, visit https://order.mysql.com/ Are you MySQL certified?, http://www.mysql.com/certification/ Miguel Angel Solórzano <[EMAIL PROTECTED]> São Paulo - Brazil -- MySQL General Mailing List For list archives: http://lists.mysql.com/mysql To unsubscribe: http://lists.mysql.com/[EMAIL PROTECTED]