Cannot watch/view variables when debugging PHP code

Phalanger Tools for Visual Studio [?] is complete PHP/Phalanger integration into Visual Studio development environment.

Cannot watch/view variables when debugging PHP code

Postby rundaqvisten » August 13th, 2013, 12:19 pm

For sometime now I have not been able to watch any PHP-variables when debugging in visual studio (2012 professional).

I started out using just PHP Tools, but then we advanced to Phalanger and now I have both products installed. Could this be causing the problem?

I can step through the code just fine and I can debug my C# code as usual, but when i step into the php code I can't see the value of any variable.

Would appreciate some help please.

Kind regard
/Mattias
rundaqvisten
 
Posts: 4
Joined: May 7th, 2013, 1:12 pm

Re: Cannot watch/view variables when debugging PHP code

Postby Jakub Misek » August 13th, 2013, 12:32 pm

PHP Tools and Phalanger Tools can be installed together.

Watching variables in Phalanger is limited due to .NET debugger itself. It depends whether you are debugging in 64bit or 32bit mode (for web app, it can be set in your IIS / Application Pool / Settings / Enable 32-bit applications), (for console app, it is automatically forced to run as 32bit app in debug mode)

32bit mode allows watching local and global variables as usual
64bit mode only allows Locals Window to be used.

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


Return to Phalanger Tools

Who is online

Users browsing this forum: No registered users and 14 guests

cron

User Control Panel

Login

Who is online

In total there are 14 users online :: 0 registered, 0 hidden and 14 guests (based on users active over the past 5 minutes)
Most users ever online was 256 on March 28th, 2024, 9:42 am

Users browsing this forum: No registered users and 14 guests