Subj : Re: Compile the Javascript code to Bytecode. To : netscape.public.mozilla.jseng From : Peter Paulus Date : Tue Oct 04 2005 01:30 pm Brendan Eich wrote: > Did you guys look at the #ifdef DEBUG js_Disassemble JS_FRIEND_API > function in jsopcode.c? Include jsopcode.h and you can use it to > disassemble any script (to disassemble scripted functions declared or > expressed in that script takes more work ;-). > > /be I didn't know of this one. I gave it a go, but somehow the DEBUG flags trips over code in my InDesign plugin. I don't really want to rename the DEBUG flag, because I can't oversee what damage I will be doing. I'm still thinking of a way to get this working. That's a pitty, because since the subject came up, disassembly might perhaps give me some insights for my recent posting [SpiderMonkey] Confused about class property (news://news.mozilla.org:119/dhjgh3$30g1@ripley.aoltw.net) With kind regards, Peter Paulus .