Firebug version: 1.5.0 Firefox version: 3.5.7 Operating System: Windows server 2003
Reproducing my issue is very easy. Code: <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http:// www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml" > <head> <title>Firebug</title> <script language="javascript" type="text/javascript"> function startTrace(str){ return method1(100,200); } function method1(arg1,arg2){ return method2(arg1 + arg2 + 100); } function method2(arg1){ var var1 = arg1 / 100; return method3(var1); } function method3(arg1){ console.trace(); var total = arg1 * 100; return total; } </script> </head> <body> <input type="button" value="Trace" onclick="startTrace('Result');"/> </body> </html> Result: ---------- function onclick(event) { startTrace("Result"); }() startTrace() method1() method2() method3() Expected result: ----------------------- onclick(click clientX=34, clientY=26) startTrace("Result") method1(100, 200) method2(400) method3(4) Is it normal? Any ideas? It's the first time I use console.trace() due to I didn't know it existed. Regards, Albert
-- 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.
