[
Date Prev][
Date Next][
Thread Prev][
Thread Next][
Date Index][
Thread Index]
[
List Home]
Re: [wtp-incubator-dev] [XQDT] breakpoint question
|
Thanks Gabriel.
Actually after a more careful reading of the DGBP spec, I managed to do what I wanted to do. Breakpoints work now (actually only on the first line right now, I still need to interpret the breakpoint_set command). The stack frame works well, as well as variable.
Thanks!
Lionel
Gabriel Petrovay ---04/07/2010 05:09:42 PM---Hi Lionel, This works like this: The break notification comes with the answer to the
From: | Gabriel Petrovay <gabipetrovay@xxxxxxxxx> |
To: | WTP Incubator Dev list <wtp-incubator-dev@xxxxxxxxxxx> |
Date: | 04/07/2010 05:09 PM |
Subject: | Re: [wtp-incubator-dev] [XQDT] breakpoint question |
Hi Lionel,
This works like this: The break notification comes with the answer to the run/step command:
<response transaction_id="RUN_COMMAND_ID" command="run" status="break" reason="ok" />
where RUN_COMMAND_ID is the id (the "-i" option) of the initial run/step command.
After this a "stack_get" command will be sent to the debugging engine, which of course you also have to answer in order to complete the break.
If something still doesn't work (it does not break in the editor), you are still missing a part which is not implemented. (the source locator, or smth with the stack frames, etc). So let us know what your progress is.
You can also look at the ZorbaDbgpTranslator how we handle the communication (we have to translate the DBGP protocol to our own). But you can see there some messaging issues.
Regards,
Gabriel
On Thu, Apr 1, 2010 at 4:47 PM, Lionel Villard <villard@xxxxxxxxxx> wrote:
Dear XQDT devs,
so far I've been able to connect DBGP to my backend, as described in the DBGP documentation. Everything is good until the 'run' command: after that I don't know how to notify the IDE that a breakpoint has been hit. The DBGP documentation does not seem to "standardize" any notification commands. Can you help?
Thanks!
Lionel
_______________________________________________
wtp-incubator-dev mailing list
wtp-incubator-dev@xxxxxxxxxxx
https://dev.eclipse.org/mailman/listinfo/wtp-incubator-dev
--
MSc Gabriel Petrovay
Mobile: +41(0)787978034
www.28msec.com_______________________________________________
wtp-incubator-dev mailing list
wtp-incubator-dev@xxxxxxxxxxx
https://dev.eclipse.org/mailman/listinfo/wtp-incubator-dev
