New installation, breakpoint not stopping

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

New installation, breakpoint not stopping

Postby afg001 » March 7th, 2013, 4:17 pm

Hi
I have just installed the evaluation version of PHP tools in VS2010 and started the evaluation period. I have created a test project with index.php

<?php
$show = "Hello world";
echo $show;
?>

I have set the prohect properties to start specific page index.php
Using specific server, my localhost IIS 7 server with public by file system. That works absolutely fine. and the page shows up in the browser (address http://localhost/Test/index.php?XDEBUG_SESSION_START=1)

VS thinks I am debugging, but page does not stop on a breakpoint.

I saw the answer that you gave to an earlier user and checked. XDEBUG is shown in phpinfo() output. I copied the xdebug lines that you quoted in the earlier message into my php.ini and restarted the server, but still no breakpoint stop.

Have you any suggestions what else I should look for?

Many thanks

Andrew
afg001
 
Posts: 11
Joined: March 7th, 2013, 4:03 pm

Re: New installation, breakpoint not stopping

Postby Miloslav Beno » March 7th, 2013, 5:58 pm

Hi Andrew,

Thanks for your question.

I suspect you've run into rare bug that only happens when using debugger together with file system publishing and automatic path mapping of debugger gets somehow confuesed. I'll take a look and try to fix it asap.

Meantime what you can try is just to create a project in the virtual directory of IIS (or create virtual directory where your project is already located; whatever fits you best). This will eliminate need of any path mapping.

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

Re: New installation, breakpoint not stopping

Postby afg001 » March 7th, 2013, 6:22 pm

Hi Miroslav

that looks like a workaround. I have now stopped on the breakpoint.

If you need any info to help debugging I would be happy to run tests.

Thanks

Andrew
afg001
 
Posts: 11
Joined: March 7th, 2013, 4:03 pm

Re: New installation, breakpoint not stopping

Postby Miloslav Beno » March 7th, 2013, 6:50 pm

Thanks Andrew,

I appreciate your offer to test it out. I'll ping you when I have it ready to test.

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

Re: New installation, breakpoint not stopping

Postby Miloslav Beno » March 10th, 2013, 10:18 am

Andrew,

this has been fixed. If you wish to try it out. I've given you an access to early versions viewtopic.php?f=17&t=977 .

Thanks again for reporting,
Miloslav
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 55 guests

cron

User Control Panel

Login

Who is online

In total there are 55 users online :: 0 registered, 0 hidden and 55 guests (based on users active over the past 5 minutes)
Most users ever online was 287 on March 29th, 2024, 6:11 am

Users browsing this forum: No registered users and 55 guests