Re: Strange behaviour on stepping.

James Ross <[email protected]>
Newsgroups gmane.comp.mozilla.devel.jsdebugger
Message-ID <[email protected]>
Dassburger wrote:
> They differ. For example, pass 1 gives such:
> 
> 1: 80640600
> 7: 80640603
> 
> and pass 2 gives such:
> 
> 1: 80640606
> 7: 80640644
> 
> The sequence of calls JSD_GetPCForStackFrame() -> JSD_GetClosestLine()
> however returns line numbers 1 and 7 on both passes.

Very interesting. I'd ask you to give the decomplication of the script's 
annotations (or even the script's bytecode itself), but I don't know of 
a way to do that.

I'll have a poke about locally later with my debugger, but there is one 
thing you could try: add/remove/move the |var| lines. It seems a bit too 
coincidental that the two lines it jumps to are the var lines.

-- 
James Ross <[email protected]>
ChatZilla Developer
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.