问题
I'm debugging a GWT app using SuperDevMode in Chrome. What it gives me is the access to Java source maps in devtools.
My problem is that when I'm debugging the code I would like to evaluate some of the variables.
My question is - is it possible to evaluate a variable from the source map?
If not - is it possible to navigate from the source map to the compiled javascript code?
回答1:
Closest I can get to this is "Store as global variable" (Chrome 75):
It will get named something like temp1
in the console. You can then interact with it like any other variable. If there's a better way I'd love to know about it.
来源:https://stackoverflow.com/questions/33149499/is-there-a-way-to-evaluate-variable-in-source-map-inside-the-chrome-developer-to