* debug.getinfo
@ 2018-11-22 13:05 Procházka Lukáš Ing.
2018-11-22 13:03 ` debug.getinfo luigi scarso
2018-11-22 14:07 ` debug.getinfo Hans Hagen
0 siblings, 2 replies; 3+ messages in thread
From: Procházka Lukáš Ing. @ 2018-11-22 13:05 UTC (permalink / raw)
To: ConTeXt
[-- Attachment #1: Type: text/plain, Size: 523 bytes --]
Hello,
the function 'debug.getinfo' was removed?
The following code:
----
\startluacode
print(debug.getinfo)
\stopluacode
\starttext
A \cldcontext{tostring(debug.getinfo)}
\stoptext
----
gives/prints 'nil'.
IIRC, the function was non-nil some weeks ago...
Best regards,
Lukas
--
Ing. Lukáš Procházka | mailto:LPr@pontex.cz
Pontex s. r. o. | mailto:pontex@pontex.cz | http://www.pontex.cz | IDDS: nrpt3sn | IČO: 40763439
Bezová 1658
147 14 Praha 4
Mob.: +420 702 033 396
[-- Attachment #2: T~.mkiv --]
[-- Type: application/octet-stream, Size: 120 bytes --]
\startluacode
print(debug.getinfo)
\stopluacode
\starttext
A \cldcontext{tostring(debug.getinfo)}
\stoptext
[-- Attachment #3: T~.pdf --]
[-- Type: application/pdf, Size: 5044 bytes --]
[-- Attachment #4: Type: text/plain, Size: 492 bytes --]
___________________________________________________________________________________
If your question is of interest to others as well, please add an entry to the Wiki!
maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage : http://www.pragma-ade.nl / http://context.aanhet.net
archive : https://bitbucket.org/phg/context-mirror/commits/
wiki : http://contextgarden.net
___________________________________________________________________________________
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: debug.getinfo
2018-11-22 13:05 debug.getinfo Procházka Lukáš Ing.
@ 2018-11-22 13:03 ` luigi scarso
2018-11-22 14:07 ` debug.getinfo Hans Hagen
1 sibling, 0 replies; 3+ messages in thread
From: luigi scarso @ 2018-11-22 13:03 UTC (permalink / raw)
To: mailing list for ConTeXt users
[-- Attachment #1.1: Type: text/plain, Size: 526 bytes --]
On Thu, Nov 22, 2018 at 2:02 PM Procházka Lukáš Ing. <LPr@pontex.cz> wrote:
> Hello,
>
> the function 'debug.getinfo' was removed?
>
> The following code:
>
> ----
> \startluacode
> print(debug.getinfo)
> \stopluacode
>
> \starttext
> A \cldcontext{tostring(debug.getinfo)}
> \stoptext
> ----
>
> gives/prints 'nil'.
>
> IIRC, the function was non-nil some weeks ago...
>
> Best regards,
>
> Lukas
>
> are you running in "security mode" ?
In this case, yes, it should be nil.
--
luigi
[-- Attachment #1.2: Type: text/html, Size: 948 bytes --]
[-- Attachment #2: Type: text/plain, Size: 492 bytes --]
___________________________________________________________________________________
If your question is of interest to others as well, please add an entry to the Wiki!
maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage : http://www.pragma-ade.nl / http://context.aanhet.net
archive : https://bitbucket.org/phg/context-mirror/commits/
wiki : http://contextgarden.net
___________________________________________________________________________________
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: debug.getinfo
2018-11-22 13:05 debug.getinfo Procházka Lukáš Ing.
2018-11-22 13:03 ` debug.getinfo luigi scarso
@ 2018-11-22 14:07 ` Hans Hagen
1 sibling, 0 replies; 3+ messages in thread
From: Hans Hagen @ 2018-11-22 14:07 UTC (permalink / raw)
To: mailing list for ConTeXt users, Procházka Lukáš Ing.
On 11/22/2018 2:05 PM, Procházka Lukáš Ing. wrote:
> Hello,
>
> the function 'debug.getinfo' was removed?
>
> The following code:
>
> ----
> \startluacode
> print(debug.getinfo)
> \stopluacode
>
> \starttext
> A \cldcontext{tostring(debug.getinfo)}
> \stoptext
> ----
>
> gives/prints 'nil'.
>
> IIRC, the function was non-nil some weeks ago...
indeed, but as it exposes too much the debug library is largely disabled
by default
you can run with --debug to keep it
Hans
-----------------------------------------------------------------
Hans Hagen | PRAGMA ADE
Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
tel: 038 477 53 69 | www.pragma-ade.nl | www.pragma-pod.nl
-----------------------------------------------------------------
___________________________________________________________________________________
If your question is of interest to others as well, please add an entry to the Wiki!
maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage : http://www.pragma-ade.nl / http://context.aanhet.net
archive : https://bitbucket.org/phg/context-mirror/commits/
wiki : http://contextgarden.net
___________________________________________________________________________________
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2018-11-22 14:07 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2018-11-22 13:05 debug.getinfo Procházka Lukáš Ing.
2018-11-22 13:03 ` debug.getinfo luigi scarso
2018-11-22 14:07 ` debug.getinfo Hans Hagen
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).