Commit Graph

4 Commits

Author SHA1 Message Date
hausner@google.com 3a7485dfa0 Implement the linux debugger wire protocol.
Platform-dependent code of the Linux version of the debugger wire
protocol.
Review URL: https://chromiumcodereview.appspot.com//10572028

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@8913 260f80e4-7a28-3924-810f-c04153c831b5
2012-06-20 16:09:39 +00:00
hausner@google.com 2cef5e4931 Now it's Linux fix time.
Review URL: https://chromiumcodereview.appspot.com//10380009

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@7336 260f80e4-7a28-3924-810f-c04153c831b5
2012-05-04 16:09:56 +00:00
hausner@google.com 03bf4ac75f Stop laughing!
Review URL: https://chromiumcodereview.appspot.com//10383008

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@7335 260f80e4-7a28-3924-810f-c04153c831b5
2012-05-04 16:01:55 +00:00
hausner@google.com 95be46105a Beginnings of a debugger wire protocol
The debugger wire handler is implemented similarly to the io event handler.
A dedicated thread monitors the debugger port for incoming connection
requests. When a debugger is connected, the VM sends events messages
over the wire and handles debugger requests.

To start the VM with a debugger connection, use the option
--debug:<portnumber>. The VM pauses at the beginning of main()
and waits for a debugger to connect.

Subsequent changes will implement debugger commands one by one.
With this change, the VM only understands "resume" commands. 
Review URL: https://chromiumcodereview.appspot.com//10357003

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@7330 260f80e4-7a28-3924-810f-c04153c831b5
2012-05-04 15:25:49 +00:00