Community
Participate
Working Groups
Build Identifier: Show Stack Frame label as Script Name , Function Name and Line Number when thread is suspended in the debug tab. Debug perspective. Reproducible: Always
Created attachment 206433 [details] proposed fix I agree that just the full URI of the script and the line number are not good enough. The patch changes the current display to: <script_name> <func_name>() line:<line_#> i.e. myscript.js toString() line: 23
Created attachment 206531 [details] Function name is empty sometimes I'm having the following issue. Sometimes I get the function name as an empty String from the Chrome browser stack. This code is adding an empty "()" and it doesn't look good. Any ideas for fixing this?
(In reply to comment #2) > Any ideas for fixing this? We could check to see if the function name is null or empty, and if so just display <script_name> line: <line_#> e.g. mypage.htm line: 23
Created attachment 206535 [details] updated patch This patch performs the checks mentioned in the previous comment
Works perfectly, Thanks.
Applied patch to HEAD