NuSphere Forums Forum Index
NuSphere Forums
Reply to topic
Breakpoints not captured in itself windows


Joined: 07 Apr 2004
Posts: 10
Reply with quote
The breakpoints located into the code of script that it is going to execute itself in a window aside from the main one are not captured by the editor or the debugger.
View user's profileFind all posts by franciscojcsSend private message
Site Admin

Joined: 13 Jul 2003
Posts: 8334
Reply with quote
please specify in details what steps were performed and what script(s) were executed.
As far as I know breakpoints work fine Smile
View user's profileFind all posts by dmitriSend private messageVisit poster's website


Joined: 07 Apr 2004
Posts: 10
Reply with quote
We call next javascript function when click on a special button located into the actual document form

function opensource () {
var oldtarget = document.forms[0].target;
var oldaction = document.forms[0].action;
document.forms[0].target = 'source2.php';
document.forms[0].action = 'source2.php';
document.forms[0].submit ();
document.forms[0].target = oldtarget;
document.forms[0].action = oldaction;
}

This function cause that a new window is opened. If I place a breakpoint into source2.php this is not captures by editor.
View user's profileFind all posts by franciscojcsSend private message
Site Admin

Joined: 13 Jul 2003
Posts: 8334
Reply with quote
There is nothing strange.
You set breakpoints in the IDE. It keeps them locally until a debug session start. Read the posts below on how to get debug session started:
http://forum.nusphere.com/howto-run-debug-session-t585.html
and
http://forum.nusphere.com/how-to-debug-php-script-at-broswer-url-a-la-toolbar-t32.html
View user's profileFind all posts by dmitriSend private messageVisit poster's website
Breakpoints not captured in itself windows
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