You can't pause/resume the async call itself. Set a BP before it's fired and then another one in your callback which will hit when the async call completes.
Also see http://getfirebug.com/keyboard.html for all the key commands On May 12, 9:42 am, DjBoo <[email protected]> wrote: > Hi > > Thanks, it works, but I don't know how can I resume the code from my > asynchronous call (from JavaScript function), is there any function > which act like continue(F8) button? > > On May 12, 5:35 pm, johnjbarton <[email protected]> wrote: > > > You can either set a breakpoint where you say "breakpoint" or add the > > 'debugger' keyword. > > jjb > > > On May 12, 2:38 am, DjBoo <[email protected]> wrote: > > > > Hi > > > > I have a JS code, is there any chance to use Firebug to pause the code > > > temporary and then resume it ? > > > > Here is sample: > > > > var b = 2; > > > some_async_function_call(); //Some asynchronous call which resume code > > > after finishing job; resume_function ( ); > > > > /**breakpoint here; something like debug keyword,... **/ > > > > alert (b); > > > > //This function will be called from asynchronous call > > > var resume_function = function() { > > > // Resume main code by sending something to Firebug; > > > > } > > > > I really need this, any help would be appreciated --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Firebug" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/firebug?hl=en -~----------~----~----~----~------~----~------~--~---
