| 
 | 
 | 
 | 
 | 
 | 
 | 
| Re: Breakpoints in anything but first page do not work [message #47829 is a reply to message #47769] | 
Wed, 29 August 2007 12:38   | 
 
Eclipse User  | 
 | 
 | 
   | 
 
Originally posted by: rge.comcast.net 
 
Yes, I found the same thing.  Thanks everyone for all of your help..... 
 
"Daniel Serodio" <dserodio@gmail.com> wrote in message  
news:fb3q79$pkp$1@build.eclipse.org... 
>I use Zend debugger, but had a similar problem that I solved by using 
> Firefox instead of the (eclipse builtin) IE. 
> 
> HTH, 
> Daniel Serodio 
> 
> Ron wrote: 
>> Thanks for your reply, it is very helpful.  Is there anyone who has  
>> figured 
>> out how to propagate the XDEBUG_SESSION to subsequent page requests? 
>> 
>> 
>> "Marijn van Zon" <marijn@suninet.org> wrote in message 
>> news:fb11lu$sul$1@build.eclipse.org... 
>>> This is because the debugger only runs for a single "page". So when the 
>>> page is done loading the debugger stops. If it doesn't (haven't been  
>>> able 
>>> to debug myself yet due to other issues that are not PDT related) it  
>>> might 
>>> this a problem with the request strings needed for XDebug not being 
>>> propagated. 
>>> 
>>> In order to "activate" XDebug eclipse sends something along the lines of 
>>> ?XDEBUG_SESSION=......&XDEBUG_KEY= with the url that is used to  
>>> load/debug 
>>> the page. When the page is loaded the links on the pages themselves will 
>>> not contain this and this when you click on a link the debugger is not 
>>> fired up. You could copy/paste the links and append the XDEBUG  
>>> information 
>>> to them and open the pages manually. Another option is to enable the 
>>> xdebug autostarter in your xdebug.ini. Not sure if this can be set from  
>>> a 
>>> user environment (as is possible with at least remote_host and 
>>> remote_port). Also I'm not sure if eclipse will accept this (as the key 
>>> will be different, you can set the session name to just "ECLIPSE" or 
>>> whatever eclipse gives with it). 
>>> 
>>> Regards, 
>>> 
>>> Marijn. 
>>> 
>>> Ron wrote: 
>>>> I set breakpoints in numerous files.  Actually, the problem I am having 
>>>> is when I try to break into a file which is loaded as a result of my 
>>>> clicking on a link.  If I just set breakpoints in files which are 
>>>> included, the debugger stops at the breakpoints but not when the page  
>>>> is 
>>>> loaded as a result of interacting with the browser. 
>>>> 
>>>> Thanks for your help... 
>>>> 
>>>> I set breakpoI did a little more testing and found that, the  
>>>> breakpoints 
>>>> work if kthe *.php file 
>>>> "Dave Kelsey" <dkel50@hotmail.com> wrote in message 
>>>> news:fb0v3s$m0a$2@build.eclipse.org... 
>>>>> Are breakpoints set in these other files ? or are you only using the 
>>>>> option 
>>>>> of break in first line ? 
>>>>> 
>>>>> Dave Kelsey 
>>>>> 
>>>>> Ron wrote: 
>>>>>> I must be missing something.  I can start the XDebug and have it  
>>>>>> break 
>>>>>> in the first file but not any other files which are referenced and 
>>>>>> loaded? 
>>
 |  
 |  
  | 
Powered by 
FUDForum. Page generated in 0.09515 seconds