can not inspect php variables under debug

Discussion about the open-source Phalanger [?] project.

can not inspect php variables under debug

Postby jcomet » August 14th, 2012, 3:29 pm

I am fairly new to Phalanger. I have a working project. I thought that I used to be able to inspect PHP variables under debug, but I can not now. When I do now, I get the message "The Name '$myvariable' does not exist in the current context."

I have some aspx pages in the same project, and I can see those object values in debug ok.
jcomet
 
Posts: 5
Joined: July 24th, 2012, 1:23 am

Re: can not inspect php variables under debug

Postby Jakub Misek » August 15th, 2012, 1:45 pm

Hi,

I guess You are using Watch window.

Currently we are working on PHP-like debugger (will be available within few weeks). What You see in Watch/Locals/Autos/CallStack during Debug is actually default .NET representation, not reflecting PHP syntax.

So for example names cannot be typed with '$' prefix.

I suggest for now to use Locals Window.
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: can not inspect php variables under debug

Postby jcomet » August 15th, 2012, 7:28 pm

Thanks Jakub - that helped a lot.
jcomet
 
Posts: 5
Joined: July 24th, 2012, 1:23 am


Return to Phalanger project

Who is online

Users browsing this forum: No registered users and 13 guests

cron

User Control Panel

Login

Who is online

In total there are 13 users online :: 0 registered, 0 hidden and 13 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 13 guests