Skip to content

Commit

Permalink
FIXED: Accidentally left debug test that could lead to an "Too many s…
Browse files Browse the repository at this point in the history
…tacked strings"

fatal error.
  • Loading branch information
JanWielemaker committed Jun 22, 2021
1 parent de542ec commit ab1a138
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions src/pl-proc.c
Original file line number Diff line number Diff line change
Expand Up @@ -349,9 +349,6 @@ bool
isDefinedProcedure(Procedure proc)
{ Definition def = proc->definition;

if ( strcmp(predicateName(def), "__aux_maplist/3_=+0/2") == 0 )
trap_gdb();

if ( true(def, PROC_DEFINED) )
succeed;

Expand Down

1 comment on commit ab1a138

@JanWielemaker
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This commit has been mentioned on SWI-Prolog. There might be relevant details there:

https://swi-prolog.discourse.group/t/too-many-stacked-strings/4219/31

Please sign in to comment.