{ "id": "172888", "key": "AC-6110", "fields": { "issuetype": { "id": "1", "description": "A problem which impairs or prevents the functions of the product.", "name": "Bug", "subtask": false }, "project": { "id": "12217", "key": "AC", "name": "Appcelerator - INBOX", "projectCategory": { "id": "10000", "description": "", "name": "Customer Service" } }, "resolution": { "id": "8", "description": "", "name": "Needs more info" }, "resolutiondate": "2019-01-29T17:40:46.000+0000", "created": "2019-01-18T14:44:29.000+0000", "labels": [], "versions": [], "issuelinks": [], "assignee": { "name": "shossain", "key": "shossain", "displayName": "Shak Hossain", "active": false, "timeZone": "America/Los_Angeles" }, "updated": "2019-01-29T17:40:46.000+0000", "status": { "description": "A resolution has been taken, and it is awaiting verification by reporter. From here issues are either reopened, or are closed.", "name": "Resolved", "id": "5", "statusCategory": { "id": 3, "key": "done", "colorName": "green", "name": "Done" } }, "components": [ { "id": "14552", "name": "Appcelerator CLI", "description": "Please enter tickets related to Tooling and the CLI here" }, { "id": "14551", "name": "Studio", "description": "Please enter tickets related to Titanium Studio here." }, { "id": "14548", "name": "Titanium SDK & CLI", "description": "Please enter tickets related to the MobileSDK here." } ], "description": "I while I can set breakpoints in Studio they are ignored when launch in debug mode. The debugger keyword is also ignored and does not cause an error.\r\n\r\nI am using the currently latest version 5.1.1 with Ti SDK 7.5.0.GA against iPhone X Simulator using iOS 12.1. I've selected Debug mode, targeting iPhone X Simulator. I have not tried this with Android.\r\n\r\nI've tried my own apps and new Classic as well as new Alloy projects as well as Kitchen sink.\r\n\r\nI did not find any CLI options that would yield a different result. How can one troubleshoot if the issue is Studio or CLI?\r\n\r\nThis issue is [also posted on Stack Overflow|https://stackoverflow.com/questions/54173526/breakpoints-are-ignored-in-appcelerator-studio-5-5-1-x-in-debug-mode].\r\n\r\nThe Studio log file is attached. Trying to generate the Studio daemon log resulted in the following message: \"Unable to generate Appc Daemon dump file, maybe due to appc daemon is not running or not available\". \r\n\r\nP.S.: This JIRA does not list the latest version of Studio as an option.", "attachment": [ { "id": "66101", "filename": ".log", "author": { "name": "chrishaff@gmail.com", "key": "chrishaff@gmail.com", "displayName": "chrishaff@gmail.com", "active": true, "timeZone": "America/New_York" }, "created": "2019-01-18T15:05:16.000+0000", "size": 239047, "mimeType": "text/plain" }, { "id": "66104", "filename": "ClassicDefault.zip", "author": { "name": "chrishaff@gmail.com", "key": "chrishaff@gmail.com", "displayName": "chrishaff@gmail.com", "active": true, "timeZone": "America/New_York" }, "created": "2019-01-22T19:10:01.000+0000", "size": 5594140, "mimeType": "application/zip" } ], "flagged": false, "summary": "Breakpoints are ignored in Appcelerator Studio 5.5.1.x in Debug mode", "creator": { "name": "chrishaff@gmail.com", "key": "chrishaff@gmail.com", "displayName": "chrishaff@gmail.com", "active": true, "timeZone": "America/New_York" }, "subtasks": [], "reporter": { "name": "chrishaff@gmail.com", "key": "chrishaff@gmail.com", "displayName": "chrishaff@gmail.com", "active": true, "timeZone": "America/New_York" }, "environment": "\r\n{code}\r\nOperating System\r\n Name = Mac OS X\r\n Version = 10.14.2\r\n Architecture = 64bit\r\n # CPUs = 4\r\n Memory = 8589934592\r\nNode.js\r\n Node.js Version = 8.11.3\r\n npm Version = 6.5.0\r\nTitanium CLI\r\n CLI Version = 5.1.1\r\nTitanium SDK\r\n SDK Version = 7.5.0.GA\r\n SDK Path = /Users/chrishaff/Library/Application Support/Titanium/mobilesdk/osx/7.5.0.GA\r\n Target Platform = iphone\r\n{code}\r\n", "comment": { "comments": [ { "id": "445468", "author": { "name": "sdarda", "key": "sdarda", "displayName": "Sharif AbuDarda", "active": false, "timeZone": "Asia/Dhaka" }, "body": "Hello, Please share a sample test project with breakpoints for us to test. Also, provide full steps for successful regeneration. Thanks.", "updateAuthor": { "name": "sdarda", "key": "sdarda", "displayName": "Sharif AbuDarda", "active": false, "timeZone": "Asia/Dhaka" }, "created": "2019-01-18T16:24:48.000+0000", "updated": "2019-01-18T16:24:48.000+0000" }, { "id": "445531", "author": { "name": "chrishaff@gmail.com", "key": "chrishaff@gmail.com", "displayName": "chrishaff@gmail.com", "active": true, "timeZone": "America/New_York" }, "body": "In Studio:\r\n# File > New > Mobile App Project\r\n# Select Classic > Default Project\r\n# Fill in text fields, select Ti SDK 7.5.0.GA, select iPad & iPhone deploy targets, disable Axway Platform Services\r\n# Click Finish\r\n\r\nOne the project is created:\r\n# Open the new project, then Resources > app.js\r\n# Put a breakpoint anywhere (I tried line 15 ??tabGround.open();?? and line 25)\r\n# Select Debug, then iPhone X (v12.1)\r\n# Your build will start, launch in sim and execute without stopping for any breakpoints \r\n\r\nThis is a ZIP of the project it is unmodified from the template. It was created using the Export command in Studio. I don't believe that breakpoints are in this archive, but you may know where they hide...\r\n[^ClassicDefault.zip] \r\n\r\nI've implied all of this information in the original writeup. Are you asking for something else?\r\n", "updateAuthor": { "name": "chrishaff@gmail.com", "key": "chrishaff@gmail.com", "displayName": "chrishaff@gmail.com", "active": true, "timeZone": "America/New_York" }, "created": "2019-01-22T19:13:01.000+0000", "updated": "2019-01-22T19:15:53.000+0000" }, { "id": "445545", "author": { "name": "rmitro", "key": "rmitro", "displayName": "Rakhi Mitro", "active": false, "timeZone": "America/Los_Angeles" }, "body": "[~chrishaff@gmail.com],\r\nThanks for your feedback. This is a known issue. I would like to inform you that engineering has confirmed that issue is scheduled for Studio Release 6.0.0. Don't have any ETA now.\r\n\r\nThanks", "updateAuthor": { "name": "rmitro", "key": "rmitro", "displayName": "Rakhi Mitro", "active": false, "timeZone": "America/Los_Angeles" }, "created": "2019-01-23T06:07:43.000+0000", "updated": "2019-01-23T06:07:43.000+0000" }, { "id": "445556", "author": { "name": "chrishaff@gmail.com", "key": "chrishaff@gmail.com", "displayName": "chrishaff@gmail.com", "active": true, "timeZone": "America/New_York" }, "body": "Oy! I will try uninstalling Studio 5.1.1 and install 5.0. Hopefully that gets me back to work.\r\n\r\nCould you confirm which sub component (Studio, CLI, something else) the issue lies with? ", "updateAuthor": { "name": "chrishaff@gmail.com", "key": "chrishaff@gmail.com", "displayName": "chrishaff@gmail.com", "active": true, "timeZone": "America/New_York" }, "created": "2019-01-23T14:41:16.000+0000", "updated": "2019-01-23T14:41:16.000+0000" }, { "id": "445561", "author": { "name": "sdarda", "key": "sdarda", "displayName": "Sharif AbuDarda", "active": false, "timeZone": "Asia/Dhaka" }, "body": "Hello [~chrishaff@gmail.com], Try with the 5.0 version. This issue is only a studio bug. Should be fixed in 6.0.0 release. Thanks.", "updateAuthor": { "name": "sdarda", "key": "sdarda", "displayName": "Sharif AbuDarda", "active": false, "timeZone": "Asia/Dhaka" }, "created": "2019-01-23T16:52:21.000+0000", "updated": "2019-01-23T16:52:21.000+0000" }, { "id": "445574", "author": { "name": "chrishaff@gmail.com", "key": "chrishaff@gmail.com", "displayName": "chrishaff@gmail.com", "active": true, "timeZone": "America/New_York" }, "body": "Thanks for confirming. \r\n\r\nI just tried installing 5.0. after deleting the 5.1.1 install. The install appeared to go fine, but when I launch it brings up the \"Select a workspace\" dialog *where it hangs*. I can't Browse, Cancel or click OK. *All I can do it Force Quit.*\r\n\r\nWhen I run {{appc info}} every thing reports as OK. I do note that I am running the latest version of the CLIs (see below). Could those be the issues. Do I need to revert one/all of those to match?\r\n\r\n{quote}Appcelerator CLI\r\n Installer = 4.2.13\r\n Core Package = 7.0.9\r\n\r\nTitanium CLI\r\n CLI Version = 5.1.1\r\n node-appc Version = 0.2.44\r\n{quote}\r\n", "updateAuthor": { "name": "chrishaff@gmail.com", "key": "chrishaff@gmail.com", "displayName": "chrishaff@gmail.com", "active": true, "timeZone": "America/New_York" }, "created": "2019-01-23T18:01:32.000+0000", "updated": "2019-01-23T18:01:32.000+0000" }, { "id": "445580", "author": { "name": "chrishaff@gmail.com", "key": "chrishaff@gmail.com", "displayName": "chrishaff@gmail.com", "active": true, "timeZone": "America/New_York" }, "updateAuthor": { "name": "chrishaff@gmail.com", "key": "chrishaff@gmail.com", "displayName": "chrishaff@gmail.com", "active": true, "timeZone": "America/New_York" }, "created": "2019-01-23T19:04:36.000+0000", "updated": "2019-01-23T19:04:36.000+0000" }, { "id": "445606", "author": { "name": "chrishaff@gmail.com", "key": "chrishaff@gmail.com", "displayName": "chrishaff@gmail.com", "active": true, "timeZone": "America/New_York" }, "body": "Is there a way to use Chrome dev tools or something else to debug like you can with node and NativeScript? Please let me know.\r\n\r\nI've only tried this with iOS. Will the debugger work with Android?\r\n\r\nYou said this was a know issue. What's the URL for that (TISTUD) ticket?\r\n\r\nI went back to Studio 5.0.0 which did launch once I installed JDK 1.8.131. I had to remove 1.8.0_181. *The debugger still does not work.*\r\n\r\nI ran the below which pointed out that there is a newer Ti CLI. Updating it using {{sudo npm update -g titanium}} resulted in no change...?\r\n\r\n{code:java}\r\n$ appc ti setup check\r\nAppcelerator Command-Line Interface, version 7.0.9\r\nCopyright (c) 2014-2019, Appcelerator, Inc. All Rights Reserved.\r\n\r\nEnter ctrl-c at any time to quit.\r\n\r\n──────────────────┤ Check Environment ├───────────────────\r\n\r\nNode.js\r\n ✓ node installed (v8.11.3)\r\n ✓ npm installed (v6.5.0)\r\n \r\nTitanium CLI\r\n ★ cli new version v5.2.0 available (currently v5.1.1)\r\n \r\nTitanium CLI Dependencies\r\n ✓ acs up-to-date (v2.0.12)\r\n ✓ alloy up-to-date (v1.13.4)\r\n ✓ appc-cli-titanium up-to-date (v4.4.20)\r\n ✓ appc-inquirer up-to-date (v0.1.10)\r\n ✓ appc-logger up-to-date (v1.1.27)\r\n ✓ appc-platform-sdk up-to-date (v3.1.0)\r\n ✓ appcd up-to-date (v1.1.3)\r\n ✓ arrow up-to-date (v3.2.7)\r\n ✓ async up-to-date (v1.5.2)\r\n ✓ chalk up-to-date (v1.1.3)\r\n ✓ char-spinner up-to-date (v1.0.1)\r\n ✓ columnify up-to-date (v1.5.4)\r\n ✓ commander up-to-date (v2.9.0)\r\n ✓ debug up-to-date (v2.6.9)\r\n ✓ dtrace-provider up-to-date (v0.8.7)\r\n ✓ ejs up-to-date (v2.6.1)\r\n ✓ fields up-to-date (v0.1.24)\r\n ✓ fs-extra up-to-date (v0.26.7)\r\n ✓ inquirer up-to-date (v0.11.4)\r\n ✓ ip up-to-date (v1.1.5)\r\n ✓ jsonpath up-to-date (v1.0.0)\r\n ✓ jwt-simple up-to-date (v0.3.1)\r\n ✓ lodash up-to-date (v3.10.1)\r\n ✓ node-appc up-to-date (v0.2.48)\r\n ✓ node-forge up-to-date (v0.6.49)\r\n ✓ node-ios-device up-to-date (v1.6.3)\r\n ✓ npm-conf up-to-date (v1.1.3)\r\n ✓ pac-proxy-agent up-to-date (v2.0.2)\r\n ✓ plural up-to-date (v0.2.1)\r\n ✓ progress up-to-date (v1.1.8)\r\n ✓ recursive-readdir up-to-date (v2.2.2)\r\n ✓ request up-to-date (v2.88.0)\r\n ✓ retire up-to-date (v1.6.2)\r\n ✓ semver up-to-date (v5.5.0)\r\n ✓ tar up-to-date (v4.4.6)\r\n ✓ tiapp.xml up-to-date (v0.2.2)\r\n ✓ titanium up-to-date (v5.1.1)\r\n ✓ version-bump-prompt up-to-date (v3.1.2)\r\n ✓ which up-to-date (v1.3.1)\r\n ✓ wrench up-to-date (v1.5.9)\r\n \r\nTitanium SDK\r\n ✓ latest sdk installed (v7.5.0.GA)\r\n ✓ selected sdk up-to-date (v7.5.0.GA)\r\n \r\nMac OS X Environment\r\n ✓ CLI Tools installed\r\n \r\niOS Environment\r\n ✓ Xcode installed (10.1)\r\n ✓ iOS SDK installed (12.1)\r\n ✓ WWDR cert installed\r\n ✓ developer cert installed (4 found)\r\n ✓ distribution cert installed (1 found)\r\n ✓ dev provisioning installed (4 found)\r\n ✓ dist provisioning installed (10 found)\r\n \r\nAndroid Environment\r\n ✓ sdk installed (/usr/local/share/android-sdk)\r\n ✓ tools installed (v26.1.1)\r\n ✓ platform tools installed (v28.0.1)\r\n ✓ build tools installed (v28.0.3)\r\n ✓ adb installed /usr/local/share/android-sdk/platform-tools/adb\r\n ✕ android \"android\" executable not found; please reinstall Android SDK\r\n ✓ emulator installed /usr/local/share/android-sdk/tools/emulator\r\n ✓ mksdcard installed /usr/local/share/android-sdk/tools/mksdcard\r\n ✓ zipalign installed /usr/local/share/android-sdk/build-tools/28.0.3/zipalign\r\n ✓ aapt installed /usr/local/share/android-sdk/build-tools/28.0.3/aapt\r\n ✓ aidl installed /usr/local/share/android-sdk/build-tools/28.0.3/aidl\r\n ✓ targets installed (2 found)\r\n ! avds no avds found\r\n ! ndk Android NDK not found\r\n \r\nJava Development Kit\r\n ✓ jdk installed (v1.8.0)\r\n ✓ java installed /Library/Java/JavaVirtualMachines/jdk1.8.0_131.jdk/Contents/Home/bin/java\r\n ✓ javac installed /Library/Java/JavaVirtualMachines/jdk1.8.0_131.jdk/Contents/Home/bin/javac\r\n ✓ keytool installed /Library/Java/JavaVirtualMachines/jdk1.8.0_131.jdk/Contents/Home/bin/keytool\r\n ✓ jarsigner installed /Library/Java/JavaVirtualMachines/jdk1.8.0_131.jdk/Contents/Home/bin/jarsigner\r\n \r\nIntel® Hardware Accelerated Execution Manager (HAXM)\r\n ✓ compatible \r\n ! installed not found; install HAXM to use Android x86 emulator\r\n \r\nNetwork\r\n ✓ online \r\n - no proxy server configured \r\n ✓ Network connection test \r\n ✓ Java-based connection test \r\n \r\nDirectory Permissions\r\n ✓ home directory \r\n ✓ titanium config directory \r\n ✓ titanium sdk install directory \r\n ✓ temp directory \r\n{code}\r\n", "updateAuthor": { "name": "chrishaff@gmail.com", "key": "chrishaff@gmail.com", "displayName": "chrishaff@gmail.com", "active": true, "timeZone": "America/New_York" }, "created": "2019-01-23T23:51:12.000+0000", "updated": "2019-01-23T23:57:21.000+0000" }, { "id": "445611", "author": { "name": "rmitro", "key": "rmitro", "displayName": "Rakhi Mitro", "active": false, "timeZone": "America/Los_Angeles" }, "updateAuthor": { "name": "rmitro", "key": "rmitro", "displayName": "Rakhi Mitro", "active": false, "timeZone": "America/Los_Angeles" }, "created": "2019-01-24T07:09:09.000+0000", "updated": "2019-01-24T07:09:09.000+0000" }, { "id": "445690", "author": { "name": "rmitro", "key": "rmitro", "displayName": "Rakhi Mitro", "active": false, "timeZone": "America/Los_Angeles" }, "body": "Hello,\r\nWe haven't heard back from you since our last response. I am just following up to check the status of this case and if you need further help on it. ", "updateAuthor": { "name": "rmitro", "key": "rmitro", "displayName": "Rakhi Mitro", "active": false, "timeZone": "America/Los_Angeles" }, "created": "2019-01-28T11:46:32.000+0000", "updated": "2019-01-28T11:46:32.000+0000" } ], "maxResults": 12, "total": 12, "startAt": 0 } } }