<br><br><div class="gmail_quote">On Sat, May 21, 2011 at 4:40 PM, Milian Wolff <span dir="ltr"><<a href="mailto:mail@milianw.de">mail@milianw.de</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">

Anirudh, 19.05.2011:<br>
> I had the following queries:<br>
><br>
> 1. The step into instruction , step over instruction and run to cursor<br>
> at present don't do anything  at present. Is it implementable?<br>
<br>
KDevplatform definitely has support for that. The question is rather whether<br>
XDebug can do that, but I think so. Either it has built-in support for it, or<br>
you need to emulate it:<br>
<br>
step over instruction:<br>
- use PHP tokenizer to find end of instruction (probably ; or } token?)<br>
- set temporary breakpoint at end of instr<br>
- continue<br>
- remove temporary breakpoint<br>
<br>
step into instruction:<br>
- find use at curser and set temp breakpoint at begging of its context?<br>
<br>
run to cursor:<br>
- as above just simpler (cursor is available through editor controller)<br>
<br>
> 2. Everytime run sql is clicked kdevelop crashes. Is it only my<br>
> problem or a general   thing.<br>
<br>
this is unrelated to xdebug (afair). This is probably the SQL plugin in<br>
Quanta. A backtrace is required to fix this. Right now I don't have the time<br>
to look into it, but if you show me the backtrace I can maybe fix it<br>
nonetheless.<br>
<br>
Anyhow, you can ignore it for now and concentrate on XDebug.<br>
<br>
> 3. The arrow which tracks execution is not visible even if icon border<br>
> is enabled.<br>
<br>
Does it work in GDB plugin? If so, the question is again whether XDebug gives<br>
you the required info (i.e. where in the source did it stop).<br></blockquote><div><br></div><div>It does work there... otherwise it wouldn't be really useful..!</div><div> </div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">


<br>
> 4 . What additional features can be added to xdebug<br>
<br>
It's been a long time since I used it. But a solid debugger would be good.<br>
Sadly I've still not found the time to look at what it already does and what<br>
is missing - sorry. But after the 26th I've lots of time for KDevelop again.<br>
<br>
Anyways, if you are looking for stuff to do (besides the above), check the<br>
XDebug documentation and look for missing stuff :)<br>
<br>
> I got into touch with nsams on irc as I had read his blog about<br>
> xdebug. He said that maybe run to cursor , step into instruction ad<br>
> step over instruction werent available for xdebug. So he suggested to<br>
> move it to gdb plugin only or to remove it completely if its of no<br>
> real use in   xdebug.<br>
<br>
See above, imo it's very useful. The tokenizer is very stable and reusable<br>
(PHP code completion uses it), so you can reuse that to emulate it.<br>
<br>
> He also said that run sql thing might be a general problem and sql<br>
> plugin needed a revamp. He suggested to borrow it from kate as kate<br>
> has a nice sql plugin.<br>
<br>
sure, sounds nice. But you should concentrate on XDebug for now.<br>
<br>
>  He said there might be a bug with icon border.<br>
<br>
Maybe, others?<br>
<br>
> Your comments?<br>
<br>
See above. Also note that I CC'ed the kdevelop-devel mailing list, if you have<br>
not registered there yet, please do so now:<br>
<br>
<a href="https://barney.cs.uni-potsdam.de/mailman/listinfo/kdevelop-devel" target="_blank">https://barney.cs.uni-potsdam.de/mailman/listinfo/kdevelop-devel</a><br>
<br>
bye<br>
<br>
> On Thu, May 19, 2011 at 12:35 AM, Milian Wolff <<a href="mailto:mail@milianw.de">mail@milianw.de</a>> wrote:<br>
> > Hey there,<br>
> ><br>
> > I´m on vacation right now. Will be back on saturday. Not sure when I´ll<br>
> > be on IRC then but just drop me a mail and I´ll answer as soon as<br>
> > possible.<br>
> ><br>
> > take care<br>
> ><br>
> > --<br>
> > Milian Wolff<br>
> > <a href="http://milianw.de" target="_blank">http://milianw.de</a><br>
> ><br>
> ><br>
> > ----- Original Message -----<br>
> > From: <a href="mailto:anirudh2290@gmail.com">anirudh2290@gmail.com</a><br>
> > To: <a href="mailto:mail@milianw.de">mail@milianw.de</a><br>
> > Date: 17.05.2011 08:21:20<br>
> > Subject: regarding xdebug<br>
> ><br>
> >> Hello<br>
> >><br>
> >> I  want to ask a few questions and clarify things about xdebug. Can<br>
> >> you please tell me a good time to meet on IRC.<br>
> >><br>
> >><br>
> >> Regards<br>
> >><br>
> >> Anirudh Subramanian( SonicX )<br>
<font color="#888888"><br>
<br>
--<br>
Milian Wolff<br>
<a href="mailto:mail@milianw.de">mail@milianw.de</a><br>
<a href="http://milianw.de" target="_blank">http://milianw.de</a><br>
</font><br>--<br>
KDevelop-devel mailing list<br>
<a href="mailto:KDevelop-devel@kdevelop.org">KDevelop-devel@kdevelop.org</a><br>
<a href="https://barney.cs.uni-potsdam.de/mailman/listinfo/kdevelop-devel" target="_blank">https://barney.cs.uni-potsdam.de/mailman/listinfo/kdevelop-devel</a><br>
<br></blockquote></div><br>