I have a pretty good idea how to debug almost any language by writing functions calling the code
and adding print statements to the code. But I'm unclear as to how I would do this in TW.
I wanted to take a few tiddlers i don't understand and add a few print statement to clarify
what is happening - is this possible?
If I take a maco I think what happens is that it returns some text which is
then rescanned - it would be nice to a get a trace of what get called and what the
return values are (same for widgets and JS code)
Cheers
/Joe
I have a pretty good idea how to debug almost any language by writing functions calling the code
and adding print statements to the code. But I'm unclear as to how I would do this in TW.
I wanted to take a few tiddlers i don't understand and add a few print statement to clarify
what is happening - is this possible?
If I take a maco I think what happens is that it returns some text which is
then rescanned - it would be nice to a get a trace of what get called and what the
return values are (same for widgets and JS code)
You can check global variables with this syntax "$(variable)$".
If you give us your actual wikitext code it would be much easier to help you.
<:-)
<:-)
--
You received this message because you are subscribed to the Google Groups "TiddlyWiki" group.
To unsubscribe from this group and stop receiving emails from it, send an email to tiddlywiki+...@googlegroups.com.
To post to this group, send email to tiddl...@googlegroups.com.
Visit this group at https://groups.google.com/group/tiddlywiki.
To view this discussion on the web visit https://groups.google.com/d/msgid/tiddlywiki/0efa1415-d3cb-4507-8f33-d9f940bff0cb%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.