Using XDebug in KDevelop ffpr PHP debugging

jay kdevelop at jxx.sk
Sun Aug 28 17:38:00 UTC 2011


Hi,

xdebug plugin is in quanta. So to make it work, just checkout master of
quanta and compile. Xdebug plugin will by automaticly also in kdevelop.

Quanta is only in git.
To compile I'm using this how-to
http://milianw.de/blog/building-kdevplatform-kdevelop-and-the-php-plugin-from-git
The first time is a bit complicated (to read and understand all), but
now it's just few minutes of using "git pull" and "cmakekde".

But if you compile kdevplatform, you have to accept, that it is work in
progress and can be unstable.

I'm using it every day. And it's invaluable.
Sometimes it crashes when I'm stopping debug session, but it is not very
often lately.
And very important bug just got fixed (thanks)
https://bugs.kde.org/show_bug.cgi?id=271929 .



jay


On 08/28/2011 06:39 PM, Ricardo Sanz wrote:
> Hi all.
>
> I'm using KDevelop as my PHP IDE and I think is a very good tool.
> However, I want to debug PHP scripts using XDebug.  There's a nice
> post by Niko Sams where this is explained:
>
> http://nikosams.blogspot.com/2010/02/kdevelop-xdebug-php-debugger.html
>
> Unfortunately it seems to be a bit outdated. As Niko says in last
> comment, about three months ago, "the code is getting moved around
> atm", so needed plugins have moved:
> - executescript is now in kdevplatform.
> - executebrowser and xdebug
>
> So I'm not sure if it's possible tu run a xdebug debbuging session
> with KDevelop, and if yes how I can achieve this.
>
> There's no Quanta for KDE 4.x in Ubuntu (just Quanta for KDE 3.x), and
> I'm not sure if it's enought to get all projects from KDevelop
>  (KDevelop, KDevPlatform,Plugins, 
> Utils, Website) and Quanta form DeTtols, compile and install them the
> get xdebug support.
>
> So, as Niko says in his blog, I'm asking to this mailing list to get
> some info. Is anybody using Xdebug in Kdevelop? Which steps should I
> take to this funtionality working?
>
> Best regards,
> -- 
> Ricardo Sanz
> Tel: +00 34 668 85 00 84
>
>
>
>
>

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/kdevelop-devel/attachments/20110828/2a0530ee/attachment.html>


More information about the KDevelop-devel mailing list