[TIMOB-11007] Android: Debugger: debugger continues for an extra step at end of program
GitHub Issue | n/a |
---|---|
Type | Bug |
Priority | Trivial |
Status | Closed |
Resolution | Invalid |
Resolution Date | 2017-06-14T18:54:32.000+0000 |
Affected Version/s | Release 2.1.2, Release 3.0.0 |
Fix Version/s | n/a |
Components | Android |
Labels | qe-and090112 |
Reporter | Dustin Hyde |
Assignee | Eric Merriman |
Created | 2012-09-19T15:40:04.000+0000 |
Updated | 2017-06-14T18:54:32.000+0000 |
Description
Debugger continues for an extra step at end of program.
For instance, if the debugger steps line by line through app.js:
var myRequire = require('myrequire');
myRequire.myFunction();
Ti.include('myinclude.js');
myFunction();
var appJSLocal = 'appJSLocal';
'var appJSLocal = 'appJSLocal'' appears to be called twice at the end when stepping over.
Attached sample project 'MyProject' (includes js files and breakpoint at line 1).
Attached separate js files (app.js, myrequire.js, and myinclude.js) for reference (same as in 'MyProject.zip').
Attached debugger protocol log: 'androiddebugger.log'
Attached studio/console logs: 'android_debugger_console_log.txt' and 'android_debugger_studio_log.txt' for reference.
Steps to Reproduce:
1. Run MyProject in debugger.
2. Step into every line in app.js, and step over every line in myrequire.js and myinclude.js.
Actual Result:
The last line ('var appJSLocal = 'appJSLocal'') appears to be called twice when step-over is called.
Expected Result:
The program should end after the last assignment statement is registered (the value is assigned in the variables pane) and step-over is called.
Closing ticket due to time passed and lack of progress over the past few years. If this problem persists, please file a new ticket.