Announcement

Collapse
No announcement yet.
X
  • Filter
  • Time
Clear All
new posts

    Local variables not defined when hovering over them in Chrome DevTools?

    Hi,

    I've been noticing that hovering over local variables in Google Chrome DevTools (after setting a breakpoint) is not working. In the hover popup, it says the variable is not defined. It has something to do with the variable names of the sourcemaps not being mapped correctly to the variable names in the minified version. This used to work in past versions of SmartGWT and Google Chrome. Do you know how we can fix this?

    Screenshot of issue:

    Click image for larger version

Name:	chrome error1.png
Views:	59
Size:	25.9 KB
ID:	255724


    Under Scope, you can see that the variable is defined, but under the different name controls_0_g$:


    Click image for larger version

Name:	chrome error2.png
Views:	51
Size:	37.2 KB
ID:	255725

    I am using Google Chrome Version 68.0.3440.75 (Official Build) (64-bit), and SmartClient Version: v11.1p_2018-07-19/PowerEdition Deployment (built 2018-07-19)

    #2
    This issue appears to be a native Chrome / GWT problem rather than anything specific to SmartGWT (indeed it can be reproduced in a pure GWT application without SmartGWT even being loaded). Unfortunately, for now it seems likely you'll just have to rely on the separate "Local Variables" pane, until the issue gets resolved in Chrome.

    Comment

    Working...
    X