At the moment i insert the traces into the function itself.
If i inserted them at the place, where the function is called, the code
would be much bigger again. Also event handlers, delegates and
setInterval functions wouldn't be traced.
Wouldn't it be sufficient for you to use the previous entry from the
callstack to get this information? (beside the correct line numer of course)
Cheers,
Ralf.
Ray Chuan wrote:
> Hi,
> I see. I would like to use this opportunity to put forth a request.
>
> Would it possible to change the reference information from that of the
> function being invoked to where it is being invoked?
>
> I think that is more useful.
>
> Eg.
> class MyClass {
> public static function main():Void {
> var inst:MyClass = new MyClass();
> }
>
> public function MyClass() {
> //do smth
> }
> }
>
> I should get:
>
> klass=MyClass, mtd=main
>
> instead of
>
> klass=MyClass, mtd=MyClass
>
> Ralf Bokelberg wrote:
>
>>Yes,
>>i removed the auto_trace_pop parameters to reduce the codesize. What is
>>left is the lineNumber parameter. All the other arguments could be
>>deduced from the latest auto_trace call.
>>
>>Cheers,
>>Ralf.
>
>
> --
> Ray Chuan
>
> _______________________________________________
> osflash mailing list
> [email protected]
> http://osflash.org/mailman/listinfo/osflash_osflash.org
_______________________________________________
osflash mailing list
[email protected]
http://osflash.org/mailman/listinfo/osflash_osflash.org