Draw diagram by call stack
D开发者_JS百科oes any one know how to draw a class diagram by call stack in VS2010?
As rerun said, the question in itself doesn't make much sense, perhaps you mean a Sequence Diagram? If so, you can't directly create it from the CallStack window, but you can create it from the code editor as described here.
The closest built-in thing to what you want is the Parallel Stacks debug window, which can be accessed via the Debug menu, Windows menu.
It doesn't exactly give you a seperate box for each item in the call chain, but at least it's visual and easier to visually parse than the call stack window.
Be sure to turn on the Method View.
It also allows navigation to the methods in the call stack.
精彩评论