Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Language IDEs » PHP Development Tools (PDT) » how to break in the another pages(break after button is clicked)
how to break in the another pages [message #554008] Thu, 19 August 2010 12:18 Go to next message
ccc123 is currently offline ccc123
Messages: 7
Registered: August 2010
Junior Member
pdt with xdebugger can break at 1st line and also any breakpoint.

after debug is launched, and it breaks at break point, which is ok.

webbrowser is firefox, not internal.

then click on resume button to show the final webpage.

on the web page, there is some button and when it's clicked, it will update the page or goto another page.

when the button on main page is clicked, the address bar on firefox does not have:

?XDEBUG_SESSION_START=ECLIPSE_DBGP&KEY=12822333207743

so the breakpoint is no longer work.

my question is, how to break after the button is clicked?

or how to always append ?XDEBUG_SESSION_START=ECLIPSE_DBGP&KEY=12822333207743

to the end of the url?
Re: how to break in the another pages [message #554021 is a reply to message #554008] Thu, 19 August 2010 13:56 Go to previous message
ccc123 is currently offline ccc123
Messages: 7
Registered: August 2010
Junior Member
not sure why, now it stopped at the breakpoints when click on the button on the main page.

when started debug, the url at firefox has ?XDEBUG_SESSION_START=ECLIPSE_DBGP&KEY=12822333207743
and then when click on the button, the new url has no ?XDEBUG_SESSION_START=ECLIPSE_DBGP&KEY=12822333207743

but the eclipse breaked at the break point.

not sure why it's working know. but I did saved the breakpoints.

[Updated on: Thu, 19 August 2010 13:57]

Report message to a moderator

Previous Topic:not break with xdebug
Next Topic:Re: Eclipe keeps on replacing lines or making them disappear
Goto Forum:
  


Current Time: Wed Jul 30 17:30:54 EDT 2014

Powered by FUDForum. Page generated in 0.08062 seconds