I cannot get any breakpoints to work the get disabled when debugging. If I mouse over them I get "The breakpoint will not currently be hit. No symbols have been loaded for this document."

Any help would be greatly appreciated. I just bought this IDE for the debugging and its integration into VS.

Thanks.

juanc says:

Are you using the built-in engine or your own debugger?

robduff says:

I am using the built-in-debugger according to the project properties.

juanc says:

Can you try to see if a simple project works with the debugger? Perhaps it is something unique about your project that's making xdebug not work properly.

Juan

robduff says:

Okay, I will give it a try by creating a new project. I will report in what I find.

robduff says:

I was able to create and debug a simple project. However, I was still unable to debug my osCommerce based project. I even created a new project, copied the project files, and populated the project with project files. When I went to debug I received the following error:

------------
Internal Server Error
The server encountered an internal error or misconfiguration and was unable to complete your request.

Please contact the server administrator, [no address given] and inform them of the time the error occurred, and anything you might have done that may have caused the error.

More information about this error may be available in the server error log.
----------
Please note that I can view the offending page in my localhost just fine. I could not get the symbols not loaded error, so I hope that is a step forward. Also, I looked at the entries in the EventViewer and nothing was logged.

I took some screen-shots of my project settings and they can be viewed here: http://www.duffservices.com/upload/index.html

I bought VS PHP so I could debug a PHP project otherwise I am left to rudimentary debugging methods, which are time consuming.

Thanks for your assistance it is appreciated.

Leonos says:

You could try to disable javascript debugging.
In debug-general, click on debugging-type and select only php. This has worked for me.
Otherwise maybe a reinstall will help.

robduff says:

I received the same error I previously posted and noticed my breakpoints are still getting disabled. I seriously doubt a reinstall will help, but I will give it a try later this week. Right now the VS IDE is better than previous one I used that did not support debugging.

------------------------
03/16/2010 The uninstall and re-install did not fix the problem. I am still receiving the same errors.

juanc says:

Ok, please try this. In the debug advanced settings there is an option to run PHP in CGI mode. Give it a try.

I think this feature may not work well in 2.8 so you may need to upgrade to 2.9

http://svn.jcxsoftware.com

Thanks,

Juan

juanc says:

Looking at your settings, you are using a custom PHP.ini file. You should not be using one unless you are really sure of what you are doing.