Giter Site home page Giter Site logo

xcodeavr's People

Contributors

levidhuyvetter avatar

Stargazers

 avatar

Watchers

 avatar

xcodeavr's Issues

Running never stops

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.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.