[TIMOB-14801] BlackBerry: Debugger - in TiRootObject to initialize V8 debugging
GitHub Issue | n/a |
---|---|
Type | New Feature |
Priority | Low |
Status | Closed |
Resolution | Hold |
Resolution Date | 2015-04-14T17:12:27.000+0000 |
Affected Version/s | n/a |
Fix Version/s | n/a |
Components | BlackBerry |
Labels | n/a |
Reporter | Russell McMahon |
Assignee | Pedro Enrique |
Created | 2013-08-09T20:49:34.000+0000 |
Updated | 2017-03-16T20:27:15.000+0000 |
Description
To startup V8 debugging the built in V8 server must be started using the following command:
v8::Debug::EnableAgent(name, port, wait_for_connection)
See the follow document to see what the args do.
http://code.google.com/p/v8/wiki/AddDebuggerSupport
TiRootObject is a good place to add the V8 startup debugger code but and early tibb startup app should work.
A message dispatcher loop also needs to be setup in the native code hosting V8. After V8 has been initialized setup the dispatcher function using this function:
v8::Debug::SetDebugMessageDispatchHandler
In the callback you will call v8::Debug::ProcessDebugMessages()
Placing these items on hold for the moment based on community interest.
Closing ticket as BlackBerry is no longer supported by us.