You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This is our current code, which was last tested to be working 2 months ago.
ev, err := pausedClient.Recv()
for _, callFrame := range ev.CallFrames {
url, err := url.Parse(callFrame.URL)
.
.
}
Currently it works on linux but returns empty string for macOS.
I saw the comment that it is deprecated but why for mac and not for linux?
Question: What is the other way we can resolve the URL from callFrame.Location.ScriptID?
The text was updated successfully, but these errors were encountered:
It seems you should also create a debugger.ScriptParsed client and store an ScriptID -> URL mapping so that you can then reference it when you receive the call frame.
This is our current code, which was last tested to be working 2 months ago.
Currently it works on linux but returns empty string for macOS.
I saw the comment that it is deprecated but why for mac and not for linux?
Question: What is the other way we can resolve the URL from
callFrame.Location.ScriptID
?The text was updated successfully, but these errors were encountered: