NuSphere Forums Forum Index
NuSphere Forums
Reply to topic
Output in only one window


Joined: 02 Feb 2006
Posts: 1
Reply with quote
Hi, i wanna debug a project, but it contains also window.open methods,
so, if i see my project in output window, a new window opens in default browser without session (and others) variables values.
Can i open more output windows in PHPed ?

If i try to use external browser, i can start debbuger, listener is running, but when i try to debug a project,
browser starts openig of a page, but never finnishes,even doesn´t return any error message ...
thanx
View user's profileFind all posts by cibaSend private message
Site Admin

Joined: 13 Jul 2003
Posts: 8344
Reply with quote
Quote:
Can i open more output windows in PHPed

theoretically we could make it possible, but from my point it is useless because there is no way to point browser which other existing window to use when it you call Open. Tell me if I'm wrong.

Quote:
browser starts openig of a page, but never finnishes,

Probably, it's because there was an active debug session in the IDE when window.open is called and subsequently IDE placed the incomin debug session request into queue and did not allow to complete. You have to finish current session to get another started. Try F9.
View user's profileFind all posts by dmitriSend private messageVisit poster's website
Veteran

Joined: 22 Sep 2005
Posts: 113
Reply with quote
In these cases, I simply insert a call to debugbreak() in the line where I want to start debugging the file that renders the popup, and phped take it as a normal breakpoint.

Tip: Normally, phped window doesn't get focus. Be aware of this if your browser is in full screen mode. It may seem to be locked, but it's just phped beneath waiting for you at the breakpoint.

ddmitrie, I know that what I will ask you should be in the features request section, but since it is in this very context, I would like to suggest that debugbreak() deserves at least to be in the help file, and it should accept parameters in order to evaluate an boolean expression to get in action only when it avaluates to true, like the normal conditional breakpoint.
View user's profileFind all posts by HoTShoTSend private message
Output in only one window
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
All times are GMT - 5 Hours  
Page 1 of 1  

  
  
 Reply to topic