> > I am trying to debug PDF.js source code, I want to copy matrix / array > values (instead of just storing the object reference) in JavaScript. How > can I do that in firebug? > I'm not exactly sure what you mean, but you can use the Command Line<https://getfirebug.com/wiki/index.php/Command_Line>to assign values to variables and execute any code you like in the page's context. The Command Line also has some special commands<https://getfirebug.com/wiki/index.php/Command_Line_API>and console functions <https://getfirebug.com/wiki/index.php/Console_API>.
I also want to know is there any way to go to any position in a loop by > assigning the value to the variable (if yes how do I assign values to the > loop variable?) > There are two ways to achieve that: - Set a breakpoint condition<https://getfirebug.com/wiki/index.php/Script_Panel#Conditions> This allows you to stop the script at the breakpoint when a specific condition is met, e.g. when your counter variable has a specific value. - Change the variable inside the Watch side panel While the script execution is halted you can change the values of all variables available inside the current stack frame by double-clicking it inside the *Watch* side panel<https://getfirebug.com/wiki/index.php/Watch_Side_Panel>, entering the new value and hitting Enter. Sebastian -- You received this message because you are subscribed to the Google Groups "Firebug" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. Visit this group at http://groups.google.com/group/firebug?hl=en-US. To view this discussion on the web visit https://groups.google.com/d/msgid/firebug/30f53d17-dc37-493e-b763-4fc473990f99%40googlegroups.com?hl=en-US. For more options, visit https://groups.google.com/groups/opt_out.
