Skip to content
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

Unable to remote debug on Hololens 2 #27113

Closed
Rufus31415 opened this issue Jun 29, 2020 · 5 comments
Closed

Unable to remote debug on Hololens 2 #27113

Rufus31415 opened this issue Jun 29, 2020 · 5 comments
Labels
Projects

Comments

@Rufus31415
Copy link

@Rufus31415 Rufus31415 commented Jun 29, 2020

I followed these instructions: https://github.com/servo/servo/wiki/Devtools#running-firefox-reality-in-a-hololens-device-or-emulator

On my hololens (10.32.11.146) I allowed the debugger to connect.
On Firefox Desktop or Firefox Developer, I get the following error :
debug error

Firefox : 77.0.1 (64 bits)
PackageFullName: MozillaFoundation.FirefoxReality_1.1.0.0_arm64__1asrjg2sqer5r

@jdm
Copy link
Member

@jdm jdm commented Jun 29, 2020

I'm going to try and reproduce this. In the short term, you can use a nightly build from download.servo.org/ - pressing the wrench icon will open an in-app JS console, which will give you most of the same benefits of using the remote devtools.

@jdm jdm added the C-reproduced label Jun 29, 2020
@jdm
Copy link
Member

@jdm jdm commented Jun 29, 2020

I can reproduce. I'll try and figure out why no tabs are being reported.

@jdm jdm added this to To do in UWP port via automation Jun 29, 2020
@paulrouget
Copy link
Contributor

@paulrouget paulrouget commented Jul 3, 2020

Protocol has been updated.

We need to migrate to tab descriptors.

Valid (Firefox to Firefox) protocol dump:

  {
    "tabs": [
      {
        "actor": "server1.conn5.tabDescriptor9",
        "browsingContextID": 5,
        "isZombieTab": false,
        "outerWindowID": 7,
        "selected": true,
        "title": "New Tab",
        "traits": {
          "getFavicon": true,
          "hasTabInfo": true,
          "watcher": true
        },
        "url": "about:home"
      }
    ],
    "from": "root"
  }
  {
    "type": "getTab",
    "outerWindowID": 7,
    "to": "root"
  }
  {
    "tab": {
      "actor": "server1.conn5.tabDescriptor9",
      "browsingContextID": 5,
      "isZombieTab": false,
      "outerWindowID": 7,
      "selected": true,
      "title": "New Tab",
      "traits": {
        "getFavicon": true,
        "hasTabInfo": true,
        "watcher": true
      },
      "url": "about:home"
    },
    "from": "root"
  }
  {
    "type": "getTarget",
    "to": "server1.conn5.tabDescriptor9"
  }
  {
    "frame": {
      "actor": "server1.conn5.child54/frameTarget1",
      "browsingContextID": 5,
      "traits": {
        "isBrowsingContext": true
      },
      "title": "New Tab",
      "url": "about:home",
      "outerWindowID": 7,
      "consoleActor": "server1.conn5.child54/consoleActor2",
      "inspectorActor": "server1.conn5.child54/inspectorActor3",
      "styleSheetsActor": "server1.conn5.child54/styleSheetsActor4",
      "storageActor": "server1.conn5.child54/storageActor5",
      "memoryActor": "server1.conn5.child54/memoryActor6",
      "framerateActor": "server1.conn5.child54/framerateActor7",
      "reflowActor": "server1.conn5.child54/reflowActor8",
      "cssPropertiesActor": "server1.conn5.child54/cssPropertiesActor9",
      "performanceActor": "server1.conn5.child54/performanceActor10",
      "animationsActor": "server1.conn5.child54/animationsActor11",
      "responsiveActor": "server1.conn5.child54/responsiveActor12",
      "contentViewerActor": "server1.conn5.child54/contentViewerActor13",
      "webExtensionInspectedWindowActor": "server1.conn5.child54/webExtensionInspectedWindowActor14",
      "accessibilityActor": "server1.conn5.child54/accessibilityActor15",
      "screenshotActor": "server1.conn5.child54/screenshotActor16",
      "changesActor": "server1.conn5.child54/changesActor17",
      "webSocketActor": "server1.conn5.child54/webSocketActor18",
      "eventSourceActor": "server1.conn5.child54/eventSourceActor19",
      "manifestActor": "server1.conn5.child54/manifestActor20"
    },
    "from": "server1.conn5.tabDescriptor9"
  }
  {
    "type": "attach",
    "to": "server1.conn5.child54/frameTarget1"
  }
@artificial-geoff
Copy link

@artificial-geoff artificial-geoff commented Jul 7, 2020

I noted today that on FF74 I have access to tabs, but on FF78 I do not have any any tab listed when connected to my hololens. Do you think this is related?

(My poor French interpretation skills of the error in the screen shot is that it needs to be a minimum of version 75.01?)

@jdm
Copy link
Member

@jdm jdm commented Jul 7, 2020

Yes. The protocol that Firefox uses to talk to the devtools server in Firefox Reality changed in more recent versions of Firefox.

UWP port automation moved this from To do to Done Jul 13, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
UWP port
  
Done
Linked pull requests

Successfully merging a pull request may close this issue.

4 participants
You can’t perform that action at this time.