Better HN
topnewbestaskshowjobs
Log inSign up

erezhaba

4 karma · joined Feb 18, 2016 (10y ago) · 6 submissions

Submissions

comment 9y ago · link · parent

This is awesome!

comment 10y ago · link · parent

The Cloud Debugger has open API's and plugin model. Anyone can write a Cloud Debugger agent, for any language, and have it integrated seamlessly to the Cloud Debugger experience.

There Cloud Debugger service exposes the clouddebugger API, which actually has two parts. The Debugger (which is intended for the UI) and the Controller (which is intended for the agent to interface).

see https://cloud.google.com/debugger/api/

comment 10y ago · link · parent

Vlad is right, now it does codebyte rewrite. using the trace and profiling interface was the old way.

comment 10y ago · link · parent

emacs package don't exist yet as far as I know. But the API's are open and should be easy to write. I think that the hard part would be the UI for displaying variables and stacks.

The server side code is not open-source, mainly for use of internal technologies. But why do you really need it? Google offers it's usage for free.

comment 10y ago · link · parent

In theory, however the current released agent rejects any snapshots (breakpoints) set on files with extension other than Java.

see the current agent code on https://github.com/GoogleCloudPlatform/cloud-debug-java

comment 10y ago · link · parent

They Python Cloud Debugger uses a combination of line trace debugging (which is very slow) and the profiling callback (fast) to inspect the line of interest.

The Cloud Debugger is different from your tradition debugger as it optimizes for application speed. For example, it would capture values, let the thread continue and run, and only then serialize is back to the Cloud Debugger server.