[CallStack] Frames filenames include `?:` #3583
Comments
|
I'd like to take this up. |
|
Sorry, I believe Anna is on it |
|
we can't reproduce it |
|
Here's an STR:
|
|
Saw the issue. Would like to take this bug. |
|
@Fischer-L it's yours! |
|
For the "?" found in #3583 (comment), it turns out that that is what exactly the source map provides. Log the returned sources for search by @jasonLaster [2] { value: "/static/js/piskel-animated-preview.js?20170502", title: "piskel-animated-preview.js?20170502", subtitle: "/static/js/piskel-animated-preview.js?20170502", id: "server1.conn12.child2/source29" } |
|
Thanks @Fischer-L. Lets see how the Tree strips away the My guess is that it's in here: we'll likely want to re-use the same helper function in all the places... |
|
I am not sure we should really strip off the strings behind "?". The string behind "?" is query string which is also a part of URL. Theoretically we could have "account.js?student" and "account.js?teacher", which have different content. Another thing about this is that if I put a timestamp behind my script filename for some purpose, I would feel a bit uncertain when debugging without seeing the timestamp. p.s looks like there are some people appending query string to js files for some reason: [1][2] |
|
@Fischer-L that's a good point, in practice I've found that it is helpful to shorten the URL in horizontally limited areas and provide the context in other ways, like on hover w/ the tab. In this case, I think it would be nice to strip it out because for the most part, the important detail is the filename. We can then work on providing the information in other ways |
|
ping @Fischer-L |
@jasonLaster right, in the call stack panel the space is limited and function name probably is the main focus during stepping between codes. Will update. |
|
@jasonLaster Please see PR #4535 |


It would be nice to exclude the special characters like
?or:that generally have special meaning after the file extension.The text was updated successfully, but these errors were encountered: