So I'm able to debug JavaScript running in my Linux chrome browser
after havnig installed the chromedevtools eclipse plugins by pointing
my Eclipse update site to: http://chromedevtools.googlecode.com/svn/update/dev/

Works great.

However I'd like to enhance the plugin, so I'm trying to get the
plugin working in 'debug' mode after running from Eclipse.

I've got all the chromedevtools Eclipse plugin code all checked out.
All 8 plugin and feature projects are in my eclipse workspace, all
built with no errors.

I open up the org.chromium.debug.ui/plugin.xml and choose to 'Launch
an Eclipse application in Debug mode'
I modify the launch configuration to include all the .debug plugins
including core.

When I launch the debug Eclipse, I correctly see the 'Chromium
JavaScript' launch group.
I'm able to create a launch configuration (the 'Remote Scripts Project
Name' box is missing)

Any breakpoints in the plugin Java code in my other workspace are
correctly hit so that part is working fine.

When it lauches the chromiun javascript code though I get the
following error:
Unable to open perspectives as specified by launch: <unknown>

Reason:
Launch configuration chromedevtools-logger at file:/mnt/compendium/
DevLab/runtime-EclipseApplication/.metadata/.plugins/
org.eclipse.debug.core/.launches/chromedevtools-logger.launch does not
exist.

I then get some items in my Console log:
> Sent to Chrome:
ChromeDevToolsHandshake

> Received from Chrome:
ChromeDevToolsHandshake

> Sent to Chrome:
Tool:DevToolsService
Content-Length:21

{"command":"version"}
> Received from Chrome:
Destination:
Tool:DevToolsService
Content-Length:45

{"command":"version","data":"0.1","result":0}


But then another error pops up:
Failed to connect to the remote browser
Failed to get protocol version from remote


No project is ever created on the left and nothing else happens at
this point.

Any ideas?

--~--~---------~--~----~------------~-------~--~----~
Chromium Discussion mailing list: [email protected] 
View archives, change email options, or unsubscribe: 
    http://groups.google.com/group/chromium-discuss
-~----------~----~----~----~------~----~------~--~---

Reply via email to