Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
Home
Discussion GroupsGeneralPHPASPPerlColdFusionFlashHTML, CSS, ScriptsBrowsers

Webmaster Forum / HTML, CSS, Scripts / JavaScript / March 2007



Tip: Looking for answers? Try searching our database.

"Set Next Statement" using the Mozilla JavaScript C API

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
znasir@verisium.com - 29 Mar 2007 19:50 GMT
I am using the Mozilla JavaScript C API and I have been able to use it
to write a small application that can execute a script, set
breakpoints etc. However, I have not quite figured out how to move the
execution to a different line. e.g. the code runs and stops (due to a
breakpoint) at line 8 of a file, and we set line 3 as the next
statement. When we say "Continue" it now starts at line 3 but retains
its context. This is essentially the "Set Next Statement"
functionality in Microsoft Visual Studio .NET .

Anybody has any ideas on what functions etc I should be looking at
here?
Brian Crowder - 30 Mar 2007 22:36 GMT
There isn't currently a way to do this, as moving the program counter
may also require moving the stack-pointer (simply retaining all
context doesn't necessarily make sense).

-- crowder

> I am using the Mozilla JavaScript C API and I have been able to use it
> to write a small application that can execute a script, set
[quoted text clipped - 7 lines]
> Anybody has any ideas on what functions etc I should be looking at
> here?
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2009 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.