Remote Debugging tries to find incorrect file

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

Remote Debugging tries to find incorrect file

Postby jcuello » April 24th, 2013, 3:48 pm

I'm trying to evaluate your plugin on VS2010 for remote debugging but I'm running into problems.

I'm trying to remote debug a local VM running CentOS 6.4 with PHP 5.3. I have configured XDebug correctly since I can connect to and publish my project and I can see it connected successfully through the log files. I then ran a simple test by adding a test.php file with phpinfo and setting a breakpoint on that line. When I start to debug and the files have been published to the VM, for some reason Visual Studio starts to look for a file named 'p' on my local machine (in the root of the source directory) and the breakpoint never gets hit. I get the 'No Source Available' tab.

I followed the instructions on your site on how to remote debug, I configured my project correctly with the right URL, and it works because my browser launches to the correct URL. The only different setting I have is that under the 'Start Action' section of the Project configuration I selected 'Specific Page' and entered test.php. This shouldn't be an issue though, should it?

EDIT: I forgot to mention that the php versions are different, in my local Windows machine I'm using php 5.5.14, but the local VM is using php 5.3.3. I don't have Apache installed in my Windows machine, I just downloaded the PHP binaries and set the path in Visual Studio.
jcuello
 
Posts: 3
Joined: April 24th, 2013, 3:26 pm

Re: Remote Debugging tries to find incorrect file

Postby jcuello » April 24th, 2013, 4:04 pm

Found the solution here:

viewtopic.php?f=21&t=1016

They should update the file from the Extensions installer in Visual Studio.
jcuello
 
Posts: 3
Joined: April 24th, 2013, 3:26 pm

Re: Remote Debugging tries to find incorrect file

Postby Miloslav Beno » April 24th, 2013, 5:31 pm

Thank you for your feedback! And I'm glad the fix works for you too. There is going to be an official update today.
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 66 guests

cron

User Control Panel

Login

Who is online

In total there are 66 users online :: 0 registered, 0 hidden and 66 guests (based on users active over the past 5 minutes)
Most users ever online was 297 on March 29th, 2024, 7:06 am

Users browsing this forum: No registered users and 66 guests