Debugging embedded Prolog (esp. in Java)?

From: Michal Jakob (mj_public_at_centrum.cz)
Date: 03/18/04


Date: Thu, 18 Mar 2004 14:14:32 +0100

Hi again,

my recent post "Prolog-Java combo for programming multiagent system?"
solicited a handful of very useful answers (thanks once more). One of the
questions I asked concerned debugging capabilities and strategies for
embedded Prolog engines (especially in Java).

The only explicit answer regarded Amzi Prolog:

"Our new Eclipse IDE provides source code debugging of embedded Prolog
components. So you can run your Java debugger at the same time as the Amzi!
Eclipse Prolog debugger. This lets you use the source debugger on your
compiled Prolog code. You can set breakpoints, single step, see variable
bindings at each level in the stack frame and more."

Perhaps, this simultaneous source debugging capability is not unique to
Amzi! Prolog. Which other Prolog implementations do offer this feature?
Which are other strategies to use when simultaneous debugging is not
possible (eg. I recently read about inspecting embedded SWI-Prolog engine
via socekt connection)?

Thanks for your comments,
Michal



Relevant Pages

  • Re: Prolog-Java combo for programming multiagent system?
    ... Our new Eclipse IDE provides source code debugging of embedded Prolog ... So you can run your Java debugger at the same time as the Amzi! ... > Prolog-Java interface ...
    (comp.lang.prolog)
  • Re: best choice for a windows prolog implementation?
    ... Amzi! ... The source debugger also lets you debug Prolog code running ... I would advise using Java with Prolog. ... with source code that should provide a good example for you to use. ...
    (comp.lang.prolog)
  • Re: The way to append number after the name of a variable ?
    ... do you want to do it for debugging purposes? ... Prolog will only show you anonymous variables when tracing. ... variables when printing output? ... Your output generating predicate should ...
    (comp.lang.prolog)
  • 64-bit debug switch
    ... prolog. ... I need this for better debuging. ... optimization. ... I need this when I am debugging, I need to look at previous call frames ...
    (microsoft.public.vc.debugger)
  • ANN: Amzi! 7.0.1 Adds DCG Debugging, Ease of Use Enhancements and Bug Fixes
    ... Prolog + Logic Server version 7.0.11 is now available for download at ... Character lists are now displayed as character lists, ... New commands have been added to run and debug a single Prolog file (very ... If you already have a prior version of Amzi! ...
    (comp.lang.prolog)