Titanium JIRA Archive
Titanium SDK/CLI (TIMOB)

[TIMOB-11188] iOS: Debugger: breakpoints ignored if app is only primitive assignment statements

GitHub Issuen/a
TypeBug
PriorityLow
StatusClosed
ResolutionFixed
Resolution Date2016-03-16T18:33:18.000+0000
Affected Version/sRelease 2.1.2, Release 3.0.0
Fix Version/sRelease 6.0.0
ComponentsiOS
Labelsdebugger, parity, qe-ios090112
ReporterDustin Hyde
AssigneeAngel Petkov
Created2012-09-27T00:41:24.000+0000
Updated2016-10-22T00:14:49.000+0000

Description

Breakpoints ignored if the app is only comprised of primitive assignment statements. This is not a regression. This does not occur on Android. This is a parity issue. This is basic functionality. Steps to Reproduce: 1. Run code in debug (manually insert breakpoints as per code comments):
var a = 1; // breakpoint

var b = 2; // breakpoint

var c = 3; // breakpoint

var d = 4; // breakpoint

var e = 5; // breakpoint

var f = 6; // breakpoint
Actual Result: All breakpoints ignored. Expected Result: All breakpoints should be hit (as 'Resume' is pressed).

Attachments

FileDateSize
androiddebugger.log2012-09-27T00:41:24.000+00003427
breakpoints ignored.png2012-09-27T00:41:24.000+000079728
iosdebugger.log2012-09-27T00:41:24.000+00002214

Comments

  1. Angel Petkov 2016-03-16

    Issue no longer persists when running debugger on the main thread.
  2. Abir Mukherjee 2016-10-22

    Testing with this environment: NPM Version: 2.15.9 Node Version: 4.5.0 Mac OS: 10.11.6 Appc CLI: 5.5.1 Appc CLI NPM: 4.2.7 Titanium SDK version: 6.0.0.v20161019091022 Appcelerator Studio, build: 4.8.0.201610171310 Xcode 8.0 GM I tested with the code above in the description, and found that all break points were hit when the Resume button was hit. I tested both on the simulator and on an iOS 10 device.

JSON Source