-
-
Notifications
You must be signed in to change notification settings - Fork 2
Closed
Description
Please, provide the details below:
Did you verify this is a real problem by searching the NativeScript Forum or the readme?
Yes
Tell us about the problem
If a "Attach to process" is running in Xcode, after changing and saving a file in Xcode (Cmd + S), a new rebuild process is triggered and the app is deployed to the simulator. If you again try to "Attach to process" you are correctly attached but no break points in Xcode are hit.
In order to resolve this behavior you need to:
- Stop the process (the stop button in the menu strip) in Xcode before saving the changes to the source code
or - Stop the
nd.run
command, do annd.clean.demo
(or manually remove the platforms folder of that demo application) and again runnd.run
Which platform(s) does your issue occur on?
iOS/Android/Both (if applicable tell us the specific version of the platform)
Please provide the following version numbers that your issue occurs with:
- nativescript-dev-debugging: 1.0.0
- CLI: 5.1.1
- Cross-platform modules: ^5.1.0
- Runtime(s): 5.1.0
Please tell us how to recreate the issue in as much detail as possible.
- Start
nd.run
command - Chose demo > ios > attach & watch
- After the native framework is build and the demo app is deployed in Xcode go to "Debug > Attach to Process by PID" > write "demo"
- Add a break point to the native source code of the plugin's framework, it is correctly hit
- Without stoping the "Attach to process" change the plugin's native code and save it (Cmd + S)
6 After a new framework build and demo app deploy attaching to its process leads to no break points being hit
Metadata
Metadata
Assignees
Labels
No labels