levidhuyvetter / xcodeavr Goto Github PK
View Code? Open in Web Editor NEWFully integrated Xcode platform & toolchain for AVR development.
Fully integrated Xcode platform & toolchain for AVR development.
All code relating to this issue is in the "Core" target.
When the run button in Xcode is clicked, it asks DVTAVRDevice for IDERunAVRService and then asks that for IDERunAVROperationWorker.
IDERunAVROperationWorker currently contains code for converting elf to hex and uploading using avrdude which works but is commented out to allow testing for this issue.
The issue is that when running from Xcode, the function performAction()
gets called but the running doesn't stop after the function returns. I have so far not been able to find a way to make it stop after uploading.
It is worth noting that the stop button also does nothing currently. When the button is clicked the logs show a tree of classes that seem to be based on NSOperation. In particular it complains that IDERunOperation could not be cancelled because it is waiting for runningDidFinish
to be called.
2020-12-02 01:00:44.643683+0000 Xcode[82971:876599] [MT] DVTAssertions: Warning in /Library/Caches/com.apple.xbs/Sources/IDEFrameworks/IDEFrameworks-17535/IDEKit/Workspace/IDEToolbarStopButtonViewController.m:252
Details: Stop Button failed to cancel tracker:
<IDEExecutionOperationTracker 0x600006910a10 Run "Test" isFinished: NO>
canceled: Hard Cancel
operationFinished: NO
<DVTOperationGroup 0x12c2d7330 not blocking> suboperations:
<IDEBuildOperationGroup 0x131339540 not blocking> suboperations:
<DVTOperationGroup 0x1313db3e0 not blocking> suboperations:
<IDEXCBuildSupport.IDEXCBuildServiceBuildOperation 0x121e956a0 not blocking>
<DVTOperation 0x131334120 not blocking>
<DVTOperationGroup 0x12c2d71b0 not blocking> suboperations:
<DVTOperationGroup 0x1313f63b0 not blocking> suboperations:
<IDERunOperation 0x145719750 blocking {<IDERunOperation: 0x145719750>(Finishing blocked for reasons:
Waiting for -runningDidFinish call.
)}>
worker: <IDEAVRPlatformSupportCore.IDERunAVROperationWorker: 0x6000028f5860 -- ExtensionIdentifier: (null)>
tracker: <IDEExecutionOperationTracker: 0x600006910a10: Run "Test": subtrackers=none>
<DVTOperation 0x1313d3630 not blocking>
<IDESchemeActionResultOperation 0x12c2d29d0 not blocking>
<DVTOperation 0x1313a51a0 not blocking>
Object: <IDEToolbarStopButtonViewController: 0x600003d60c30>
Method: -_stopLaunchSession:
Thread: <NSThread: 0x600001703f00>{number = 1, name = main}
I am unsure as to what will cause this function to be called and allow the run session to finish.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.