From: ZyX <kp-pav@yandex.ru>
To: Ray Andrews <rayandrews@eastlink.ca>,
"zsh-users@zsh.org" <zsh-users@zsh.org>
Subject: Re: following a variable's value.
Date: Sun, 18 Oct 2015 14:19:11 +0300 [thread overview]
Message-ID: <877541445167151@web30o.yandex.ru> (raw)
In-Reply-To: <562320B7.6060200@eastlink.ca>
18.10.2015, 07:33, "Ray Andrews" <rayandrews@eastlink.ca>:
> On 10/17/2015 05:29 PM, ZyX wrote:
>> 18.10.2015, 03:11, "Ray Andrews" <rayandrews@eastlink.ca>:
>>> Gentlemen,
>>>
>>> I discovered by accident the useful 'warncreateglobal' and it has me in
>>> mind to ask if there's some way of tracing the value of variable. I
>>> know about 'set -x' of course, but some way of following the fortunes of
>>> a single variable would be very nice.
>
> ...
>> If you write C module specifically for your needs you may overcome these limitations.
>
> Thanks ZyX, but that sounds way over my head. I've still never touched
> python. If no one else has any ideas then I'll keep doing it the hard
> way with inserted queries.
You can use some other languages which allow compiling *.so libraries and have a way to create compatible ABI: e.g. Rust. But in any case basic C knowledge is necessary.
What do you mean by “inserted queries”? Some kind of “debugging printf”?
next prev parent reply other threads:[~2015-10-18 11:30 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-10-17 23:40 Ray Andrews
2015-10-18 0:29 ` ZyX
2015-10-18 4:31 ` Ray Andrews
2015-10-18 11:19 ` ZyX [this message]
2015-10-18 17:15 ` Ray Andrews
2015-10-18 17:33 ` Bart Schaefer
2015-10-18 17:46 ` Ray Andrews
2015-10-18 16:54 ` Bart Schaefer
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=877541445167151@web30o.yandex.ru \
--to=kp-pav@yandex.ru \
--cc=rayandrews@eastlink.ca \
--cc=zsh-users@zsh.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this public inbox
https://git.vuxu.org/mirror/zsh/
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).