wiki:Debugging

Version 1 (modified by tomfukushima, 10 years ago) (diff)

--

Debugging the Server on Windows

Using Visual Studio. Set the startup project as !ServerCore_Mentor. Do a properties on !ServerCore_Mentor and under Debugging, add "run" without the quotes in the Command Arguments edit box.

Debugging the Server on Linux

Use gdb.

Debugging the Web Server Extensions on Windows

The best thing here is to install the web tier first, then copy the debug DLLs to where you have the release ones. It may be good to delete the release DLLs to make sure that you aren't running them. Edit the php.ini file so that it points to the debug DLLs.

Apache

Edit httpd.conf so that it points to the debug DLLs.

Somehow attach to the process...

IIS

Debugging the Web Server Extensions on Linux