Vorlonjs icon indicating copy to clipboard operation
Vorlonjs copied to clipboard

Mac Outlook Add-in: Javascript runtime errors are not being captured and reported

Open ghost opened this issue 9 years ago • 8 comments

With the most recent release, I was able to get the Vorlon debugger to work with my Mac Outlook Add-in using this tutorial. I'm able to view the DOM and execute javascript code in vorlon console but vorlon is not reporting any runtime javascript errors. (ie: var referenceError = this.object.doesnt.exist.so.this.should.throw.an.error).

Vorlon is able to report this same runtime error if I use a Chrome browser to execute the same page. Perhaps this bug is specific to the webview that Mac Outlook uses?

ghost avatar Jul 18 '16 22:07 ghost

Hello,

Normally the latest version from npm or from the dev/master branch should have this fixed. Can you try this page on safari and have a look at the error logged in safari developer Tools ?

etiennemargraff avatar Jul 19 '16 10:07 etiennemargraff

Thanks @meulta for the quick response. This issue exist on Safari 9.1.1 as well. I can clearly see the runtime error in Safari's debugger tool but not in Vorlon.

For what it's worth, Vorlon are showing these error logs in the beginning of the debug session in red. transition superseded transition prevented transition aborted transition failed Here's a screenshot image I'm not sure what these error means but I'm hoping they might be useful to you.

Let me know if you need anything from me.

ghost avatar Jul 19 '16 15:07 ghost

Hm, they are not... First time I see this :D

Can you give me more information about you setup ? What plugins are activated on your Vorlon.js instance?

Thank you a lot and really sorry for the trouble :)

etiennemargraff avatar Jul 20 '16 13:07 etiennemargraff

Thanks for the help @meulta.

Windows: Windows 10 Pro Build 10586.494 Node on Windows: v4.2.2 Vorlon on Windows: 0.3.0

Mac: OS X El Capitan Version 10.11.5 Microsoft Outlook on Mac: 15.23 (160611)

I'm using the default plugins and I have enabled the Office plugin. Here's my Server/config.json

{
    "baseURL": "",
    "useSSLAzure": false,
    "useSSL": true,
    "SSLkey": "cert/server.key",
    "SSLcert": "cert/server.crt",
    "activateAuth": false,
    "username": "",
    "password": "",
    "port": 1337,
    "enableWebproxy": true,
    "baseProxyURL": "",
    "proxyPort": 5050,
    "proxyEnvPort": false,
    "vorlonServerURL": "",
    "vorlonProxyURL": "",
    "plugins": [
        {
            "id": "DOM",
            "name": "Dom Explorer",
            "panel": "top",
            "foldername": "domExplorer",
            "enabled": true
        },
        {
            "id": "OBJEXPLORER",
            "name": "Obj. Explorer",
            "panel": "top",
            "foldername": "objectExplorer",
            "enabled": true,
            "nodeCompliant": true
        },
        {
            "id": "XHRPANEL",
            "name": "XHR",
            "panel": "top",
            "foldername": "xhrPanel",
            "enabled": true,
            "nodeCompliant": true
        },
        {
            "id": "BABYLONINSPECTOR",
            "name": "Babylon Inspector",
            "panel": "top",
            "foldername": "babylonInspector",
            "enabled": false
        },
        {
            "id": "WEBSTANDARDS",
            "name": "Best practices",
            "panel": "top",
            "foldername": "webstandards",
            "enabled": true
        },
        {
            "id": "NETWORK",
            "name": "Network Monitor",
            "panel": "top",
            "foldername": "networkMonitor",
            "enabled": true
        },
        {
            "id": "RESOURCES",
            "name": "Resources Explorer",
            "panel": "top",
            "foldername": "resourcesExplorer",
            "enabled": true
        },
        {
            "id": "UNITTEST",
            "name": "Unit Test",
            "panel": "top",
            "foldername": "unitTestRunner",
            "enabled": true
        },
        {
            "id": "UWP",
            "name": "UWP apps",
            "panel": "top",
            "foldername": "uwp",
            "enabled": false
        },
        {
            "id": "NGINSPECTOR",
            "name": "Ng. Inspector",
            "panel": "top",
            "foldername": "ngInspector",
            "enabled": false
        },
        {
            "id": "DEVICE",
            "name": "My Device",
            "panel": "top",
            "foldername": "device",
            "enabled": true
        },
        {
            "id": "OFFICE",
            "name": "Office Addin",
            "panel": "top",
            "foldername": "office",
            "enabled": true
        },
        {
            "id": "NODEJS",
            "name": "NodeJS",
            "panel": "top",
            "foldername": "nodejs",
            "enabled": false,
            "nodeCompliant": true,
            "nodeOnly": true
        },
        {
            "id": "CONSOLE",
            "name": "Interactive Console",
            "panel": "bottom",
            "foldername": "interactiveConsole",
            "enabled": true,
            "nodeCompliant": true
        },
        {
            "id": "MODERNIZR",
            "name": "Modernizr",
            "panel": "bottom",
            "foldername": "modernizrReport",
            "enabled": true
        },
        {
            "id": "EXPRESS",
            "name": "Express",
            "panel": "bottom",
            "foldername": "express",
            "enabled": false,
            "nodeCompliant": true,
            "nodeOnly": true
        }
    ]
}

ghost avatar Jul 20 '16 13:07 ghost

hm... where are you hosting your vorlon.js instance? :)

etiennemargraff avatar Jul 25 '16 05:07 etiennemargraff

I'm hosting my vorlon.js on my windows machine but it's executed on Mac within Outlook.

ghost avatar Jul 25 '16 15:07 ghost

Can you try to host it directly from your mac ?

etiennemargraff avatar Aug 22 '16 09:08 etiennemargraff

Up ? :)

etiennemargraff avatar Oct 24 '16 17:10 etiennemargraff