SWI-Prolog / packages-xpce

The graphics toolkit for SWI-Prolog
16 stars 14 forks source link

Left column in the profiler window shows internal predicate names #17

Closed pmoura closed 4 years ago

pmoura commented 4 years ago

The left column in the profiler window shows internal predicate names instead of the names as translated by calling the user:prolog_predicate_name/2 hook predicate. This issue doesn't happen in the right column, however, as we get the names from calling the hook predicate. An example when using the profiler with a Logtalk goal:

Screenshot 2020-01-16 at 10 14 48

As you can see, on the left column, the highlighted predicate (black background) shows the internal predicate name but on the right column the highlighted line (yellow background) shows the user predicate name.

JanWielemaker commented 4 years ago

Thanks. Fixed with SWI-Prolog/swipl-devel@ca3ee4a4a14ec3a8c4053e9b73a5dc8407be9140

pmoura commented 4 years ago

Thanks for the quick fix!