can not inspect php variables under debug
3 posts
• Page 1 of 1
can not inspect php variables under debug
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.
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
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.
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. | @misekjakub │ jakub@devsense.com │
-
Jakub Misek - Posts: 2092
- Joined: January 4th, 2012, 2:42 pm
- Location: Prague
Re: can not inspect php variables under debug
Thanks Jakub - that helped a lot.
- jcomet
- Posts: 5
- Joined: July 24th, 2012, 1:23 am
3 posts
• Page 1 of 1
Who is online
Users browsing this forum: No registered users and 5 guests