Titanium JIRA Archive
Titanium SDK/CLI (TIMOB)

[TIMOB-11407] Debug on Android Device crashes in breakpoint after a brief wait

GitHub Issuen/a
TypeBug
PriorityLow
StatusOpen
ResolutionUnresolved
Affected Version/sn/a
Fix Version/sn/a
Componentsn/a
Labelsn/a
ReporterArthur Evans
AssigneeUnknown
Created2012-10-09T21:50:41.000+0000
Updated2018-02-28T20:04:01.000+0000

Description

Steps to Reproduce

Create a project and place a breakpoint in a click event handler.

Debug on an Android Device.

Trigger the event handler.

Wait for a minute or so in paused state.

Actual Result

After a brief pause, the current window disappears, leaving the splash screen showing, and the app shows up as terminated in the Debug view.

Expected Result

Application pauses normally, as in iOS.

Test Code

var win1 = Titanium.UI.createWindow({  
    title:'Tab 1',
    backgroundColor:'#fff'
});
var label1 = Titanium.UI.createLabel({
	text:'Click Me',
});

win1.add(label1);
label1.addEventListener('click', function(e) {
	Ti.API.info("We got this far!");
});
win1.open();

Attachments

FileDateSize
.log2012-10-09T21:50:43.000+00003380762
debugger_crash_log.txt2012-10-09T22:01:25.000+000011050
diagnostic3189650153763359221.log2012-10-09T21:50:45.000+000012641

Comments

  1. Arthur Evans 2012-10-09

    Android log output.
  2. Arthur Evans 2012-10-09

    Might be an SDK issue, not sure...

JSON Source