[ALOY-1650] Debugger does not hit breakpoints when running Android on Windows
GitHub Issue | n/a |
---|---|
Type | Bug |
Priority | None |
Status | Closed |
Resolution | Fixed |
Resolution Date | 2019-03-14T14:52:27.000+0000 |
Affected Version/s | Alloy 1.13.8 |
Fix Version/s | CLI Release 7.0.10 |
Components | Tooling |
Labels | n/a |
Reporter | Samir Mohammed |
Assignee | Ewan Harris |
Created | 2019-03-13T13:58:30.000+0000 |
Updated | 2019-03-14T14:52:38.000+0000 |
Description
*Note:* _When using alloy Set some break points in the
1.13.7
no issue can be seen but when using 1.13.8
the debugger does not work 1.13.8
can be found in 7.0.10-master.14
. Titanium apps don't see this issue._
When trying to debug an Android application in Windows, the debugger does not work and seems to miss breakpoints.
*Test Steps*
Working with Samir we can see the following * ALOY-1644 is definitely the cause of this * Specifically [this line](https://github.com/appcelerator/alloy/blob/784c0a7ea45510953533b1748dae0407316434b8/Alloy/commands/compile/index.js#L1158) is causing the issue as it appears that my change to normalize the path into windows style clashes with the constructed regex using posix path separator. The fix here looks to be to roll back that specific line, but we need to be sure that doesn't cause ALOY-1644 again.
https://github.com/appcelerator/alloy/pull/924
*Closing ticket.* Fix verified in CLI version
7.0.10-master.18
. Able to use the debugger without major issues and still able to use liveview without any issues. Also used SDK version8.0.0.v20190311082612
and Appc Studio Version5.1.2.201903111843
.