New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Watch Expressions Don't Work in Chrome Remote Debugging #1785

Closed
mitchell-as opened this Issue Jul 8, 2016 · 3 comments

Comments

Projects
None yet
2 participants
@mitchell-as
Member

mitchell-as commented Jul 8, 2016

Short Summary

Title.

Steps to Reproduce

<html>
<head>
    <script type="text/javascript">
        function foo() {
            var x = 1;
            var y = 2;
            console.log(x + y);
        }
    </script>
</head>
<body>
    <h1 onclick="foo();">HELLO!!!</h1>
</body>
  1. Place a breakpoint on the var x = 1 line and start debugging.
  2. Click HELLO!!!.
  3. Switch to the watch pane and click + and add the expression x + y.
  4. Step through a couple of times.
  5. At the console.log() line, x + y is still Unknown property: x + y.

When debugging in Python this works.

Expected results

x + y watch expression should be 3 eventually.

Actual results

It's still Unknown property.

Platform Information

Komodo Edit or IDE? IDE
Komodo Version? X
Operating System (and version)? All

Additional Information

DEBUG:chrome.dbgp.DBGPClient:Waiting for commands from IDE...
DEBUG:chrome.dbgp.DBGPClient:Received data from IDE: 'property_get -c 0 -d 0 -n "x + y" -i 41'
DEBUG:chrome.dbgp.DBGPClient:Processing command 'property_get -c 0 -d 0 -n "x + y" -i 41'
DEBUG:chrome.dbgp.DBGPClient:Fetched 3 properties.
DEBUG:chrome.dbgp.DBGPClient:Unknown property 'x + y'

@mitchell-as mitchell-as added the Bug: New label Jul 8, 2016

@mitchell-as mitchell-as added this to the 10.1 milestone Jul 8, 2016

@mitchell-as mitchell-as self-assigned this Jul 8, 2016

@mitchell-as

This comment has been minimized.

Member

mitchell-as commented Jul 11, 2016

@cgchoffman

This comment has been minimized.

Member

cgchoffman commented Jul 12, 2016

@mitchell-as just want to make sure that this fix will resolve #1796 as well.

@cgchoffman cgchoffman reopened this Jul 12, 2016

@mitchell-as

This comment has been minimized.

Member

mitchell-as commented Jul 12, 2016

This issue and #1796 are two separate issues. This one has been fixed.

@cgchoffman cgchoffman modified the milestones: 10.0.2, 10.1 Jul 12, 2016

@cgchoffman cgchoffman added moved to qa and removed moved to qa labels Jul 17, 2017

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment