facebook

Failed to get tabs for debugging

  1. CodeMix & Angular IDE
  2.  > 
  3. Webclipse 1.x Help
Viewing 13 posts - 1 through 13 (of 13 total)
  • Author
    Posts
  • #585278 Reply

    Paulo
    Participant

    I have used Angular IDE for over a year and since some days ago it started to have issues when trying to debug my Angular project.
    When I try to start the debug session it opens the chrome (or chromium, I tried both) and after some seconds gives up with the message

    Failed to get tabs for debugging
    Unrecognized respose: 500 Internal Server Error

    By enabling the Remote Debugger Connection Console I see there are several occurences of

    [Browser] outgoing message >>>>>
    GET /json HTTP/1.1
    User-Agent: ChromeDevTools for Java SDK
    Host: licensing.ultraedit.com:4402
    
    <<<<<
    
    [Browser] incoming message >>>>>
    HTTP/1.1 500 Internal Server Error
    Content-Length:63
    Content-Type:text/html
    
    <<<<<

    I suppose the host should be localhost and not licensing.ultraedit.com
    Any ideas what was messed up and how to revert it?

    btw, my installed software version is

    Angular IDE by Webclipse 1.5.0.20170308-1933 epp.package.angularide Genuitec, LLC
    DevStyle (includes Darkest Dark Theme) 1.11.0.201804271459 com.genuitec.eclipse.theming.feature.feature.group Genuitec, LLC
    Eclipse Help System 2.2.2.v20170301-0400 org.eclipse.help.feature.group Eclipse.org
    Eclipse JSON Editors and Tools 1.0.2.v201612232230 org.eclipse.wst.json_ui.feature.feature.group Eclipse Web Tools Platform
    Eclipse Platform 4.6.3.v20170301-0400 org.eclipse.platform.feature.group Eclipse.org
    Eclipse Web Developer Tools 3.8.2.v201702270442 org.eclipse.wst.web_ui.feature.feature.group Eclipse Web Tools Platform
    Eclipse XML Editors and Tools 3.8.2.v201702270442 org.eclipse.wst.xml_ui.feature.feature.group Eclipse Web Tools Platform
    Equinox p2, Provisioning for IDEs. 2.2.203.v20170131-1444 org.eclipse.equinox.p2.user.ui.feature.group Eclipse.org – Equinox
    Git integration for Eclipse 4.6.1.201703071140-r org.eclipse.egit.feature.group Eclipse EGit
    JavaHL 1.9.3 Win32 Binaries (Optional) 6.0.0.I20160427-1700 org.polarion.eclipse.team.svn.connector.javahl19.win32.feature.group Polarion Software
    JavaScript Development Tools 2.0.200.v201612211424 org.eclipse.wst.jsdt.feature.feature.group Eclipse Web Tools Platform
    JavaScript Development Tools Chromium/V8 Remote Debugger 0.5.200.v201701261810 org.eclipse.wst.jsdt.chromium.debug.feature.feature.group Eclipse Web Tools Platform
    Native JavaHL 1.9 Implementation (Optional) 6.0.0.I20160427-1700 org.polarion.eclipse.team.svn.connector.javahl19.feature.group Polarion Software
    Subversive Revision Graph (Optional) 4.0.0.I20160226-1700 org.eclipse.team.svn.revision.graph.feature.group Eclipse.org
    Subversive SVN Connectors 6.0.4.I20161211-1700 org.polarion.eclipse.team.svn.connector.feature.group Polarion Software
    Subversive SVN JDT Ignore Extensions (Optional) 4.0.0.I20160226-1700 org.eclipse.team.svn.resource.ignore.rules.jdt.feature.group Eclipse.org
    Subversive SVN Team Provider 4.0.4.I20170216-1700 org.eclipse.team.svn.feature.group Eclipse.org
    Webclipse Angular 1.10.0.201804271506 com.genuitec.eclipse.webclipse.angular2.feature.feature.group Genuitec, LLC
    Webclipse Foundation 1.11.0.201804271506 com.genuitec.eclipse.webclipse.commons.feature.feature.group Genuitec, LLC
    Webclipse JavaScript Debugger 1.11.0.201804271506 com.genuitec.eclipse.webclipse.jsdebugger.feature.feature.group Genuitec, LLC
    Webclipse JSjet 1.11.0.201804271506 com.genuitec.eclipse.webclipse.jsjet.feature.feature.group Genuitec, LLC
    Webclipse Navigation & Research Aides 1.11.0.201804271506 com.genuitec.eclipse.webclipse.navigation.feature.feature.group Genuitec, LLC
    Webclipse Terminal Plus 1.11.0.201804271506 com.genuitec.eclipse.webclipse.terminal.feature.feature.group Genuitec, LLC
    WST Server Adapters 3.2.500.v201703062119 org.eclipse.wst.server_adapters.feature.feature.group Eclipse Web Tools Platform
    WST Server UI 3.3.655.v201611072017 org.eclipse.wst.server_ui.feature.feature.group Eclipse Web Tools Platform

    • This topic was modified 6 years, 7 months ago by Paulo.
    #585349 Reply

    support-swapna
    Moderator

    Paulo,

    Sorry that you are seeing this issue. Thank you for the details.

    Can you please give us some more details for further investigation?

    1. Please share with us the workspace log file by clicking on the ‘Export Log’ icon in the Error Log view for further investigation?

    2. Also share with us the contents of the Chrome Console. Press Ctrl+Shift+J (Windows / Linux) or Cmd+Opt+J (Mac) to open Chrome’s Console or select the Chrome menu icon > More tools > Developer tools and switch to the Console tab.

    3. Your OS and version details.

    Apologies for inconvenience caused.

    –Swapna
    Genuitec Support

    #585360 Reply

    Paulo
    Participant

    Hi, thanks for your answer.

    1) Error log is attached

    2) The Chrome Console is always empty. Chrome just opens and stays in his initial empty page with no records in console.

    3) My OS is Windows 7 SP 1

    Attachments:
    You must be logged in to view attached files.
    #585463 Reply

    dschmidt
    Participant

    Bump. This is happening to me as well as of May 5, 2018.

    In my case, I’d seen a new version of Webclipse get auto-installed a few days earlier, but I hadn’t tried it yet. However, after downgrading my entire Eclipse install to the previous known-good version (via Help->About Eclipse->Installation Details->Installation History), I still had the same issue.

    Then I checked Chrome’s version – turns out there was an update there, too, around the very end of April, to version 66.0.3359.139 (Official Build) (64-bit). Perhaps the Google team changed something Webclipse was relying on? (I haven’t had the gumption to fight with Google’s auto-updater to downgrade my Chrome install yet… nor have I any clue what version I was on previously there.)

    Hope this helps. I’d love it if I could debug in Eclipse again – for starters! (I can still navigate to localhost:4200 in a standard tab and use Chrome Dev Tools/F12, but that’s mildly annoying.)

    Cheers!

    #585488 Reply

    support-tony
    Keymaster

    Paulo,

    Thanks for the information. Unfortunately, we haven’t been able to either replicate this or figure out what might be causing it. The host name that you mentioned in your opening post, licensing.ultraedit.com, is that related to your application, in any way? It wasn’t clear whether you were confused by it or not. Normally, that message would show a host of 127.0.0.1 (localhost). That may be the source of the problem in your case. Also, if you have other Angular CLI projects, do you see the same problem with those or is it just this one project? If just this project, could you let us know what releases of Angular CLI, node and npm you’re using on it? You can get the CLI release from your package.json file and the other releases from the Angular CLI Tool Management page of the project’s Properties.

    dschmidt13gmail-com,

    Are you seeing all of the same symptoms as Paulo? Could you check the Remote Debugging Console, also? You can enable the Remote Debugging Console by right clicking on the project in the Servers view and selecting Properties, switching to the Browser tab and then selecting the similarly named option. The Remote Debugging console will be one of the consoles accessible in the Console view using the console icon. The messages mentioned by Paulo should be at the top of the console. Lastly, please let us know which OS your are running on and the same information that I requested from Paulo.

    Hopefully we can get to the bottom of this but it might be worth trying to clean pieces of your set up if this has only just started happening. Start by launching eclipse with the -clean option (that is, start eclipse from a command line with the eclipse -clean command). If that doesn’t work then start with a fresh workspace and import your angular project as Import->General->Existing Projects. If that doesn’t work, try a fresh workspace and import as Import->Angular->Angular Project. Lastly, and this shouldn’t really be necessary, try with a fresh install of Angular IDE, if possible. Our main aim is to get you past this problem as quickly as possible, hence those suggestions.

    Please provide the requested information or let us know how you resolved it, if one of the above steps works for you.

    #585521 Reply

    Paulo
    Participant

    That Host licensing.ultraedit.com has nothing to do with any of my projects altough I have the UltraEdit software installed on my computer for ages.
    Node and NPM are Node.js version: v9.4.0 and NPM version: 5.6.0
    When the problem first showed up, my first guess was some Chrome corruption, so I changed the Debug Configuration and pointed the browser location from my standard Chrome installation to another installation of Chromium i have in my computer and then the debug was ok again … until I closed Webclipse and reopenned it again. After that, no matter what Chrome or Chromium executable I set in the Debug Configuration, neither work. I tried to update and reinstall both Chrome and Chromium also without success.
    Like dschmidt13gmail-com pointed out, my troubles also started right after the last auto update of Webclipse.
    I tried to debug my another projects to no avail, all get the same message and the same debug console output. For your info purpose, I only have one workspace for all my projects.
    Right now I still must manually open the Chrome or Chromium and point to localhost:4202. The bad thing is that its no integrated debugging and so have no breakpoint or variables check.
    Will try the suggested actions when possible and report back.

    • This reply was modified 6 years, 7 months ago by Paulo.
    #585544 Reply

    dschmidt
    Participant

    I see virtually the exact same errors that Paulo reported from his Remote Debugger Connection Console:

    
    [Browser] outgoing message >>>>>
    GET /json HTTP/1.1
    User-Agent: ChromeDevTools for Java SDK
    Host: xxxxxx:39074
    
    <<<<<
    
    [Browser] incoming message >>>>>
    HTTP/1.1 500 Internal Server Error
    Content-Length:63
    Content-Type:text/html
    
    <<<<<
    

    Note that I’ve changed the original domain name being requested to “xxxxxx”, as it is in fact requesting from a proprietary internal server…

    The strangest (and most disturbing) part to me is that it found and tried this internal domain name at all. There are a few references to it in a related Java project, but only in source files, properties files, log files… never in project configuration. It’s not mentioned anywhere in the angular project (I just double-checked). Furthermore, apart from those and a PUTTY session or two, I have no references to this name anywhere else on my system (that I’m aware). I don’t even connect to it directly – it’s on a separate network. So, that’s troubling.

    Also: the port changes every time I try to launch a new “Debug In Chrome” session. It’s not always 39074 – but it’s always 5 digits, and it seems to be increasing steadily.

    Finally, it may be worth noting that I enabled the “Show Chrome Process Console” flag as well, and I’m seeing the following (cleaned up a bit), all in red each time I try to launch a Debug in Chrome session:

    
    DevTools listening on ws://127.0.0.1:39776/devtools/browser/204e0542-0f55-4c81-8923-f8e3696f48d3
    [13316:55708:0510/123121.450:ERROR:component_installer.cc(325)] Failed to read manifest or verify installation for Signed Tree Heads (...my workspace path...\workspace\.metadata\.plugins\com.genuitec.eclipse.javascript.debug.wip.core\chrome-user-dir\CertificateTransparency\627).: The system cannot find the file specified. (0x2)
    ... a dozen more like it, except paths ending in \629, \630, \632, \633, \647, etc. ...
    Unable to read VR Path Registry from C:\Users\myuser\AppData\Local\openvr\openvrpaths.vrpath
    

    Clean-booting Eclipse didn’t work. New workspace didn’t work. Angular IDE/Webclipse reinstall didn’t work.

    (Sanitized) workspace and console logs attached.

    I’m running on Windows 10 Pro.

    Installed Software Version info:
    Angular IDE by Webclipse 1.11.0.201804271506 com.genuitec.eclipse.angularide.feature.feature.group Genuitec, LLC
    Buildship: Eclipse Plug-ins for Gradle 2.2.1.v20180125-1441 org.eclipse.buildship.feature.group Eclipse Buildship
    Code Recommenders for Java Developers 2.5.2.v20180401-1226 org.eclipse.recommenders.rcp.feature.feature.group Eclipse Code Recommenders
    Code Recommenders Mylyn Integration 2.5.2.v20180401-1226 org.eclipse.recommenders.mylyn.rcp.feature.feature.group Eclipse Code Recommenders
    Code Recommenders News Feed 2.5.2.v20180401-1226 org.eclipse.recommenders.news.rcp.feature.feature.group Eclipse Code Recommenders
    Code Recommenders Snipmatch 2.5.2.v20180401-1226 org.eclipse.recommenders.snipmatch.rcp.feature.feature.group Eclipse Code Recommenders
    DevStyle (includes Darkest Dark Theme) 1.11.0.201804271459 com.genuitec.eclipse.theming.feature.feature.group Genuitec, LLC
    DevStyle – Icon Designer 1.11.0.201804271459 com.genuitec.eclipse.theming.designer.feature.feature.group Genuitec, LLC
    e(fx)clipse – IDE 3.0.0.201705220750 org.eclipse.fx.ide.feature.feature.group Eclipse.org
    EclEmma Java Code Coverage 3.1.0.201804041601 org.eclipse.eclemma.feature.feature.group Eclipse EclEmma
    Eclipse IDE for Java Developers 4.7.3.20180405-1200 epp.package.java Eclipse Packaging Project
    Eclipse Java Development Tools 3.13.4.v20180330-0919 org.eclipse.jdt.feature.group Eclipse.org
    Eclipse Java EE Developer Tools 3.9.3.v201803221418 org.eclipse.jst.enterprise_ui.feature.feature.group Eclipse Web Tools Platform
    Eclipse Java Web Developer Tools 3.9.0.v201803221834 org.eclipse.jst.web_ui.feature.feature.group Eclipse Web Tools Platform
    Eclipse Platform 4.7.3.v20180330-0640 org.eclipse.platform.feature.group Eclipse.org
    Eclipse RCP 4.7.3.v20180330-0640 org.eclipse.rcp.feature.group Eclipse.org
    Eclipse Web Developer Tools 3.9.2.v201803221834 org.eclipse.wst.web_ui.feature.feature.group Eclipse Web Tools Platform
    Eclipse XML Editors and Tools 3.9.2.v201803221834 org.eclipse.wst.xml_ui.feature.feature.group Eclipse Web Tools Platform
    Eclipse XSL Developer Tools 1.3.401.v201509231858 org.eclipse.wst.xsl.feature.feature.group Eclipse Web Tools Platform
    GDB Tracepoint Analysis 3.3.0.201803071910 org.eclipse.tracecompass.gdbtrace.feature.group Eclipse Trace Compass
    GEF FX SDK 5.0.2.201711130301 org.eclipse.gef.fx.sdk.feature.group Eclipse GEF
    Git integration for Eclipse 4.9.2.201712150930-r org.eclipse.egit.feature.group Eclipse EGit
    Git integration for Eclipse – Task focused interface 4.9.2.201712150930-r org.eclipse.egit.mylyn.feature.group Eclipse EGit
    GProf Integration 6.2.1.201803061555 org.eclipse.linuxtools.gprof.feature.feature.group Eclipse Linux Tools
    Java implementation of Git 4.9.2.201712150930-r org.eclipse.jgit.feature.group Eclipse JGit
    JavaScript Development Tools 2.1.1.v201803202007 org.eclipse.wst.jsdt.feature.feature.group Eclipse Web Tools Platform
    m2e – Maven Integration for Eclipse (includes Incubating components) 1.8.3.20180227-2137 org.eclipse.m2e.feature.feature.group Eclipse.org – m2e
    m2e – slf4j over logback logging (Optional) 1.8.3.20180227-2137 org.eclipse.m2e.logback.feature.feature.group Eclipse.org – m2e
    m2e-wtp – Maven Integration for WTP 1.3.3.20170823-1905 org.eclipse.m2e.wtp.feature.feature.group Eclipse.org – m2e-wtp
    Memory Analyzer 1.7.0.201706130745 org.eclipse.mat.feature.feature.group Eclipse Memory Analyzer
    Memory Analyzer (Charts) [optional] 1.7.0.201706130745 org.eclipse.mat.chart.feature.feature.group Eclipse Memory Analyzer
    Mylyn Builds Connector: Hudson/Jenkins 1.15.0.v20170411-2141 org.eclipse.mylyn.hudson.feature.group Eclipse Mylyn
    Mylyn Context Connector: Eclipse IDE 3.23.0.v20170411-2108 org.eclipse.mylyn.ide_feature.feature.group Eclipse Mylyn
    Mylyn Context Connector: Java Development 3.23.0.v20170411-2108 org.eclipse.mylyn.java_feature.feature.group Eclipse Mylyn
    Mylyn Task List 3.23.1.v20170623-0008 org.eclipse.mylyn_feature.feature.group Eclipse Mylyn
    Mylyn Task-Focused Interface 3.23.0.v20170414-0629 org.eclipse.mylyn.context_feature.feature.group Eclipse Mylyn
    Mylyn Tasks Connector: Bugzilla 3.23.1.v20170623-0008 org.eclipse.mylyn.bugzilla_feature.feature.group Eclipse Mylyn
    Mylyn Versions Connector: Git 1.15.0.v20170411-2003 org.eclipse.mylyn.git.feature.group Eclipse Mylyn
    Mylyn WikiText 3.0.19.201711172000 org.eclipse.mylyn.wikitext_feature.feature.group Eclipse Mylyn
    Oomph Setup 1.9.0.v20180504-1434 org.eclipse.oomph.setup.feature.group Eclipse Oomph Project
    Pcap (Packet Capture Format) Analysis 3.3.0.201803071910 org.eclipse.tracecompass.tmf.pcap.feature.group Eclipse Trace Compass
    QuickImage 1.0.3.2 nu.psnet.quickimage.feature.group psnet.nu
    QuickREx Feature 4.3.0 com.netcetera.eclipse.quickrex.feature.feature.group Netcetera
    Webclipse Emmet 1.11.0.201804271506 com.genuitec.eclipse.webclipse.emmet.feature.feature.group Genuitec, LLC
    Webclipse Foundation 1.11.0.201804271506 com.genuitec.eclipse.webclipse.commons.feature.feature.group Genuitec, LLC
    Webclipse JavaScript Debugger 1.11.0.201804271506 com.genuitec.eclipse.webclipse.jsdebugger.feature.feature.group Genuitec, LLC
    Webclipse JSjet 1.11.0.201804271506 com.genuitec.eclipse.webclipse.jsjet.feature.feature.group Genuitec, LLC
    Webclipse REST 1.11.0.201804271506 com.genuitec.eclipse.webclipse.rest.feature.feature.group Genuitec, LLC

    Attachments:
    You must be logged in to view attached files.
    #585548 Reply

    dschmidt
    Participant

    Okay, I’ve solved my issue. Immediately after posting, it occurred to me that there was one other spot that this injected domain name, xxxxxx, appeared on my system. Because I do occasionally connect to it through a PuTTY tunnel, I had to redirect the name to the localhost. I’d edited my hosts file (C:\Windows\System32\drivers\etc\hosts) to map this name to 127.0.0.1, but left the default “localhost” name mappings (127.0.0.1 and ::1) commented out, as they are by default per this comment courtesy of the Windows team:
    # localhost name resolution is handled within DNS itself.

    I uncommented these hoping they would take precedence over my custom mapping if explicitly specified (and earlier in the file), then flushed my DNS and tried again, and voila! Angular IDE and Webclipse are back to normal. I didn’t even need to restart Eclipse.

    Thanks for all the suggestions! Couldn’t have fixed it without giving the old memory a good prod.

    Now if only I could figure out how to change my forum profile name… 🙂

    #585550 Reply

    Paulo
    Participant

    THANK YOU dschmidt13gmail-com
    Problem solved here aswell. My hosts file was messed with lots of entries. Cannot imagine where they came from.
    Just cleaned it up and, as a precaution measure, also uncommented the localhost entries.
    And then, just like magic, everything was back to normal.
    Did I already said THANK YOU !?
    Think I own you a beer (or two), 🙂

    #585551 Reply

    dschmidt
    Participant

    Hooray! I’m glad I was able to help!

    #585586 Reply

    support-tony
    Keymaster

    Thanks for figuring this out, guys, especially dschmidt. A great example of how community support can work. I did suspect that domain name but can’t figure out how this started happening after the update (possibly to both Webclipse and Chrome) or why a messed up hosts file would result in this error, but I’ll pass this information on to development to see if they can figure it out.

    Sorry dschmidt, I don’t know how to change your profile name on the forums but I’ll let you know. We may have to do this internally, once you let us know what name you’d like (perhaps with some alternatives).

    #585625 Reply

    Paulo
    Participant

    In my case that bad hosts files was was already there for a long time according to my backups, however only after the Webclipse was updated the debug problem showed up.
    As for Chrome, I only updated it after the problem started in a try to sort things out, but with no success.

    #585698 Reply

    dschmidt
    Participant

    Likewise for me – I hadn’t changed my hosts file in months, and things were working fine until the update. But I found it strange that even when I downgraded I still had the same problem.

Viewing 13 posts - 1 through 13 (of 13 total)
Reply To: Failed to get tabs for debugging

You must be logged in to post in the forum log in