Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Language IDEs » PHP Development Tools (PDT) » XDebug JIT Breaking on first line of code
XDebug JIT Breaking on first line of code [message #88888] Thu, 08 January 2009 19:03 Go to next message
Shawn Clark is currently offline Shawn ClarkFriend
Messages: 70
Registered: July 2009
Member
Hi,

I have started using the JIT of XDebug a bit more and have noticed one
thing that has started to bother me. That is when you have a Debug
session going it will always break on the first line of code. Manually
starting a debug session there is an option to enable / disable this
feature. I can't seem to find that same option when starting a session
through JIT. Am I missing it somewhere?

--
Shawn Clark
Re: XDebug JIT Breaking on first line of code [message #88932 is a reply to message #88888] Thu, 08 January 2009 20:08 Go to previous messageGo to next message
D Kelsey is currently offline D KelseyFriend
Messages: 232
Registered: July 2009
Senior Member
Hi Shawn, try going to Window-->Preferences, expand PHP and select debug. Uncheck the box "Break at
First Line" and see if that solves your problem.

Regards
Dave Kelsey

Shawn Clark wrote:
> Hi,
>
> I have started using the JIT of XDebug a bit more and have noticed one
> thing that has started to bother me. That is when you have a Debug
> session going it will always break on the first line of code. Manually
> starting a debug session there is an option to enable / disable this
> feature. I can't seem to find that same option when starting a session
> through JIT. Am I missing it somewhere?
>
> --
> Shawn Clark
Can't have ANT running on new PDT 2.0 [message #88990 is a reply to message #88888] Fri, 09 January 2009 12:20 Go to previous messageGo to next message
John is currently offline JohnFriend
Messages: 4
Registered: July 2009
Junior Member
Hi u all !! Salut à tout le monde !!


I've installed the new PDT 2.0 (pdt-all-in-one-win32-2.0.0GA.zip) and
noticed that the Ant plugin does not work.
I cannot make Eclipse to open the AntView (plugin ?) nor I can see the Ant
tab on Window -> Preferences.

I have tried to figure out how I can install the missing packages/jar with
no succes.
I saw that org.eclipse.ant.ui_3.3.0.v20080529.jar was missing on my
installation's plugin folder, but
i got some dependencies errors on the log.

I give up.

If anyone has experienced the same (and resolved it), please drop some
line about your solution/suggestion.


Greetz !


-- jOn
Re: Can't have ANT running on new PDT 2.0 [message #89039 is a reply to message #88990] Fri, 09 January 2009 14:44 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: nickboldt+eclipse+newsgroup.gmail.com

From within a PDT all-in-one, do this:

Help > Software Updates > Available Software > Eclipse Platform Updates
> [x] Plugin Development Environment (PDE) > install that feature.
IIRC, that's the one that wraps the Ant stuff.

Or, starting from a "Classic" Eclipse (which already has Ant support),
do this to add PDT and its reqs:

http://wiki.eclipse.org/PDT/Installation

N

John G wrote:
> Hi u all !! Salut à tout le monde !!
>
>
> I've installed the new PDT 2.0 (pdt-all-in-one-win32-2.0.0GA.zip) and
> noticed that the Ant plugin does not work.
> I cannot make Eclipse to open the AntView (plugin ?) nor I can see the
> Ant tab on Window -> Preferences.
>
> I have tried to figure out how I can install the missing packages/jar
> with no succes.
> I saw that org.eclipse.ant.ui_3.3.0.v20080529.jar was missing on my
> installation's plugin folder, but
> i got some dependencies errors on the log.
>
> I give up.
>
> If anyone has experienced the same (and resolved it), please drop some
> line about your solution/suggestion.
>
>
> Greetz !
>
>
> -- jOn

--
Nick Boldt :: http://wiki.eclipse.org/User:Nickb
Re: Can't have ANT running on new PDT 2.0 [message #89155 is a reply to message #89039] Fri, 09 January 2009 17:52 Go to previous messageGo to next message
John is currently offline JohnFriend
Messages: 4
Registered: July 2009
Junior Member
Thank u, it works now !

-- jOn


Le Fri, 09 Jan 2009 15:44:36 +0100, Nick Boldt
<nickboldt+eclipse+newsgroup@gmail.com> a écrit:

> Help > Software Updates > Available Software > Eclipse Platform Updates
> > [x] Plugin Development Environment (PDE)
Re: XDebug JIT Breaking on first line of code [message #91723 is a reply to message #88932] Sat, 24 January 2009 01:21 Go to previous messageGo to next message
matthew is currently offline matthewFriend
Messages: 14
Registered: July 2009
Junior Member
On Thu, 08 Jan 2009 20:08:11 +0000, Dave Kelsey <dkel50@hotmail.com>
wrote:

>Hi Shawn, try going to Window-->Preferences, expand PHP and select debug. Uncheck the box "Break at
>First Line" and see if that solves your problem.

I tried that and it didn't change it: still break at the first line.
Re: XDebug JIT Breaking on first line of code [message #91765 is a reply to message #91723] Sat, 24 January 2009 01:38 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: nickboldt.gmail.com

Please provide some background info:

Eclipse version
PDT version
platform type/version (windows/max/linux, 32 or 64 bit, etc.)
java version
XDebug version
where you got PDT from (Eclipse.org or Zend)

Is there by any chance a breakpoint on the first line? Or is the
debugging yakking because it doesn't like the first line of your code?

Matthew Young wrote:
> On Thu, 08 Jan 2009 20:08:11 +0000, Dave Kelsey <dkel50@hotmail.com>
> wrote:
>
>> Hi Shawn, try going to Window-->Preferences, expand PHP and select debug. Uncheck the box "Break at
>> First Line" and see if that solves your problem.
>
> I tried that and it didn't change it: still break at the first line.

--
Nick Boldt :: http://wiki.eclipse.org/User:Nickb
Re: XDebug JIT Breaking on first line of code [message #91779 is a reply to message #88932] Sat, 24 January 2009 01:51 Go to previous messageGo to next message
Shawn Clark is currently offline Shawn ClarkFriend
Messages: 70
Registered: July 2009
Member
Thanks for the information Dave. I was able to change this a few weeks
back and since I have had it so that it doesn't break on the first line.
I noticed another comment in this thread about it so just saying that it
is working with my build which is PDT 2.0.1 Maintenance.

--
Shawn


Dave Kelsey wrote:
> Hi Shawn, try going to Window-->Preferences, expand PHP and select
> debug. Uncheck the box "Break at First Line" and see if that solves your
> problem.
>
> Regards
> Dave Kelsey
>
> Shawn Clark wrote:
>> Hi,
>>
>> I have started using the JIT of XDebug a bit more and have noticed one
>> thing that has started to bother me. That is when you have a Debug
>> session going it will always break on the first line of code. Manually
>> starting a debug session there is an option to enable / disable this
>> feature. I can't seem to find that same option when starting a session
>> through JIT. Am I missing it somewhere?
>>
>> --
>> Shawn Clark
Re: XDebug JIT Breaking on first line of code [message #91851 is a reply to message #91723] Sat, 24 January 2009 09:27 Go to previous messageGo to next message
D Kelsey is currently offline D KelseyFriend
Messages: 232
Registered: July 2009
Senior Member
Can you check that you are using the remote session initiation debug session ? This will display as
<unknown> at the top of the tree in the Debug view. If you are and break on first line is still
occuring and you have checked that that the check box in preferences is definitely not checked then
all I can think is that you do have a breakpoint defined for that file on the first line. You can
check this by selecting the "Breakpoints" tab in the "PHP Debug view" to see what breakpoints have
been defined. There is a known issue with Remote Session Initiation in the fact that you set the
breakpoints in your file but when you start debugging and stepping through the file PDT will bring
up a copy of the file you are debugging and you don't see the breakpoints you have defined in this
file (they will be shown on the original file where you placed them).

Dave Kelsey

Matthew Young wrote:
> On Thu, 08 Jan 2009 20:08:11 +0000, Dave Kelsey <dkel50@hotmail.com>
> wrote:
>
>> Hi Shawn, try going to Window-->Preferences, expand PHP and select debug. Uncheck the box "Break at
>> First Line" and see if that solves your problem.
>
> I tried that and it didn't change it: still break at the first line.
Re: XDebug JIT Breaking on first line of code [message #646207 is a reply to message #91851] Wed, 22 December 2010 16:47 Go to previous message
No real name is currently offline No real nameFriend
Messages: 1
Registered: December 2010
Junior Member
Just in case anybody else runs into that issue, I am adding my solution. I spent quite some time fiddling with this until I found out that you might need to configure the "break on first line"-setting in three different places:

  • the workspace settings (window -> preferences, php -> debug)
  • the project settings (project -> properies, php debug), if project specific settings are enabled
  • the debug configuration (Run -> Debug Configurations, Php Web Page -> filename.php) if it was created manually or automatically when starting the debugging the first time

Hope this helps anyone. Happy debugging!
Previous Topic:Using Code Help after loading class with Doctrine_Core::getClass
Next Topic:Text file displaying issue
Goto Forum:
  


Current Time: Fri Mar 29 13:30:49 GMT 2024

Powered by FUDForum. Page generated in 0.05605 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top