Thanks for the reply. I suspected it would be something to do with the
tracescript.

As an experiment I tried adding the following to the end of _serializensp
in nstrace.tcl

            # Add aliases
            foreach alias [interp aliases {}] {
                if { [string match "$nsp*" $alias] } {
                    append script [_aliasscript $alias]
                }
            }

where _aliasscript is

        proc _aliasscript {cmd} {
            return "interp alias {} $cmd {} [interp alias {} $cmd] \n"
        }


And it did indeed start working.  Not sure where the best way/best place to
do this for the naviserver code base. Any comments?


On 26 September 2013 19:09, Jeff Rogers <dv...@diphi.com> wrote:

> Hi David,
>
> This is a known deficiency - the introspection script that creates the
> tcl initialization script doesn't capture interp aliases.  I don't think
> it's difficult to add, just hasn't been done yet.
>
> -J
>
>
>
------------------------------------------------------------------------------
October Webinars: Code for Performance
Free Intel webinars can help you accelerate application performance.
Explore tips for MPI, OpenMP, advanced profiling, and more. Get the most from 
the latest Intel processors and coprocessors. See abstracts and register >
http://pubads.g.doubleclick.net/gampad/clk?id=60133471&iu=/4140/ostg.clktrk
_______________________________________________
naviserver-devel mailing list
naviserver-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/naviserver-devel

Reply via email to