Admittedly, a strange question....but is it possible to somehow capture an entire javascript call stack from jQuery? For example, let's say on page ready, I do a for each on every row in a table, and for a certain cell in each row, I want to change the row color based on this cell exceeding a certain value.
So, I'm wondering if it is possible to write this in jQuery, execute it, and somehow end up with an entire stack trace of the actual javascript that was executed?
Update #1
Hmmm....this looks very similar to what I am hoping for (looks like it must be technically possible):
http://getfirebug.com/logging
Stack traces
Just call console.trace() and Firebug will write a very informative stack trace to the console. Not only will it tell you which functions are on the stack, but it will include the value of each argument that was passed to each function. You can click the functions or objects to inspect them further.
Update #2
Ah of course, the question is: why?
How about this: javascript is allowed at my company, but jQuery is not.
Conclusion
http://getfirebug.com/logging
or
http://blog.johnmckerrell.com/javascript-call-tracer/