Titanium JIRA Archive
Titanium SDK/CLI (TIMOB)

[TIMOB-6567] Android: V8: Terminating the application from debugger does not work and produces error.

GitHub Issuen/a
TypeBug
PriorityHigh
StatusClosed
ResolutionFixed
Resolution Date2011-12-13T18:54:40.000+0000
Affected Version/sRelease 1.8.0
Fix Version/sSprint 2011-50, Release 1.8.0.1, Release 2.0.0
ComponentsAndroid
Labelsn/a
ReporterJosh Roesslein
AssigneeJosh Roesslein
Created2011-12-11T22:05:40.000+0000
Updated2014-06-19T12:42:39.000+0000

Description

Actual: If you try terminating the application from Studio debugger, V8 will print an error to the log and the application will lock up. Expected: Application should terminate.

Comments

  1. Josh Roesslein 2011-12-12

    To test [PR #938](https://github.com/appcelerator/titanium_mobile/pull/938):
       var win = Ti.UI.createWindow();
       
       var btn = Ti.UI.createButton({'title': 'Click to terminate.'});
       btn.on('click', function () {
         Ti.API.terminate();
       });
       
       win.add(btn);
       win.open();
       
       
    Debug this application in Studio, then once it has launched try clicking the application. It should terminate the android application immediately.
  2. Josh Roesslein 2011-12-13

    Should also test this in Studio with TISTUD-909. Expected: Pressing terminate button should cause the android application to quit. Actual: Application stops responding and does not quit.
  3. Michael Pettiford 2011-12-14

    Tested on Windows 7 with studio version 1.0.7.201112140358 Ti Mob SDK 1.8.0.1.v20111214093905 V8 Expected behavior is shown *Note keeping open to confirm with 1.9.0
  4. Wilson Luu 2012-01-11

    Closing bug. Already verified fix on 1.8.0.1

JSON Source