When we debug in Chrome Developer Tools, we sometimes need to save the call stack information of function execution locally for further processing:

However, the data in the Call Stack list cannot be copied and pasted. Instead, just go to the console and type console.trace:

The callstack printed here can be copied and pasted:

CTRL + V to local:

More of Jerry’s original articles can be found in “Wang Zixi” :