VS 2012 Breakpoints not being hit

PHP Tools [?] extends Visual Studio with set of advanced features to work more efficiently with PHP code.

VS 2012 Breakpoints not being hit

Postby veevandyke » October 10th, 2013, 3:37 pm

I have VS Tools Pro. xDebug is installed and the settings match the settings listed on your "Verify Installation page." When I debug, it starts the site, but none of my breakpoints are being hit.

PHPInfo shows xDebug working correctly and my xDebug log isn't showing any errors and IS showing the breakpoints loading. I'm not sure what else to troubleshoot.

Thanks.
veevandyke
 
Posts: 2
Joined: October 10th, 2013, 3:34 pm

Re: VS 2012 Breakpoints not being hit

Postby Jakub Misek » October 10th, 2013, 4:04 pm

Hi,

Please ensure you are running PHP Project, not a common ASP.NET Web Site.

More information can be found at http://www.devsense.com/doc/phptools/de ... leshooting

Please give me know if it works for you.

Thanks,
Jakub
Jakub Misek │ DEVSENSE s.r.o. | @misekjakubjakub@devsense.com
User avatar
Jakub Misek
 
Posts: 2092
Joined: January 4th, 2012, 2:42 pm
Location: Prague

Re: VS 2012 Breakpoints not being hit

Postby veevandyke » October 13th, 2013, 5:28 pm

I am using the correct ports, and my project is a PHPProject. (The extension is PHPProj.) Is there anything else I can try?
veevandyke
 
Posts: 2
Joined: October 10th, 2013, 3:34 pm

Re: VS 2012 Breakpoints not being hit

Postby Miloslav Beno » October 14th, 2013, 2:42 pm

Hi Veronica,

Could you please send me phpinfo output so I can take a look? And what do you see in Output window?

Are you trying to debug remote server or just local? There might be firewall blocking the connection.

What PHP Tools version do you use?

Thank you,
Miloslav Beno │ DEVSENSE s.r.o. │ @miloslavbenomiloslav@devsense.com
User avatar
Miloslav Beno
 
Posts: 1252
Joined: January 7th, 2012, 8:36 pm

Re: VS 2012 Breakpoints not being hit

Postby Miloslav Beno » October 15th, 2013, 4:54 pm

One more thing did occur to me. When you press F5 does your browser start with XDEBUG_SESSION_START=1 parameter in the url?

Thanks,
Miloslav Beno │ DEVSENSE s.r.o. │ @miloslavbenomiloslav@devsense.com
User avatar
Miloslav Beno
 
Posts: 1252
Joined: January 7th, 2012, 8:36 pm


Return to PHP Tools

Who is online

Users browsing this forum: No registered users and 69 guests

cron

User Control Panel

Login

Who is online

In total there are 69 users online :: 0 registered, 0 hidden and 69 guests (based on users active over the past 5 minutes)
Most users ever online was 440 on April 26th, 2024, 12:59 am

Users browsing this forum: No registered users and 69 guests