Re: SWI-Prolog : Out Of Local Stack



Jan Wielemaker wrote:
On 2006-09-17, roschler <robert.oschler@xxxxxxxxx> wrote:


call(PredCall) is certainly not better than simply PredCall. Looks like
a bug in the debugger. Please report, preferably to the SWI-Prolog
bugzilla system. Include a *complete* program, not just a snippet. Also
include the version, as there have been some recent changes to the
debugger.

--- Jan

Jan,

I have entered a bug report with a complete test program into
SWI-Prolog BugZilla; just follow the reported steps.

In the meantime, is the main liability in using call/1 simply speed,
since it's an interpretive call and not compiled?

Also, is there a way to tell from Prolog code if the code is currently
being traced in the GUI debugger? If there is, and it's not too
ridiculous, I could create a call like:

safe_call(Goal) :-
is_gui_tracing_active,
!,
call(Goal).
safe_call(Goal) :-
\+ is_gui_tracing_active,
!,
Goal.

Too silly?

Thanks,
Robert

.



Relevant Pages

  • Re: SWI-Prolog : Out Of Local Stack
    ... a bug in the debugger. ... Please report, preferably to the SWI-Prolog ... bugzilla system. ... I have entered a bug report with a complete test program into ...
    (comp.lang.prolog)
  • SmtpMail.send() does _not_ cause button click to block . . .
    ... report to a number of email recipients. ... and then the debugger pops back into the code at ... that the execution of Sendis taking too long and somehow putting it ... this library will be driven from from a windows service ...
    (microsoft.public.dotnet.framework.windowsforms)
  • Re: Media Center wont open
    ... "Bob" wrote: ... *Report back, please* ... Registered JIT debugger is not available. ... Please check computer settings. ...
    (microsoft.public.windows.mediacenter)
  • Re: Possible to register a foreign function dynamically?
    ... I've tried a few Python packages (for SWI-Prolog and GNU-Prolog) last ... The package uses SWI-Prolog as a shared library; ... called `install` which is calling `PL_register_foreign`. ... Maybe you can run it under a debugger ...
    (comp.lang.prolog)
  • Re: Media Center wont open
    ... *Report back, please* ... > Registered JIT debugger is not available. ... > Please check computer settings. ...
    (microsoft.public.windows.mediacenter)