Titanium JIRA Archive
Titanium SDK/CLI (TIMOB)

[TIMOB-14801] BlackBerry: Debugger - in TiRootObject to initialize V8 debugging

GitHub Issuen/a
TypeNew Feature
PriorityLow
StatusClosed
ResolutionHold
Resolution Date2015-04-14T17:12:27.000+0000
Affected Version/sn/a
Fix Version/sn/a
ComponentsBlackBerry
Labelsn/a
ReporterRussell McMahon
AssigneePedro Enrique
Created2013-08-09T20:49:34.000+0000
Updated2017-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()

Comments

  1. Ingo Muschenetz 2015-04-14

    Placing these items on hold for the moment based on community interest.
  2. Lee Morris 2017-03-16

    Closing ticket as BlackBerry is no longer supported by us.

JSON Source