Where communities thrive


  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
People
Activity
    matkatmusic
    @matkatmusic
    if I knew how to debug this, I could. but I don't know how to debug Xcode plugins
    do I do anything special, like change the Application that gets debugged?
    Alex
    @AlexIzh
    i don;t know
    matkatmusic
    @matkatmusic
    how did you develop this without being able to debug
    Alex
    @AlexIzh
    I written PluginConsole for logs
    And another plugin which shows where which view class
    And testing, testing, testing
    matkatmusic
    @matkatmusic
    hmm
    heh, your Logger is linked on the bottom
    Alex
    @AlexIzh
    wow!
    Do you try it? With xCode 5, you can "run" your plugin by configuring it to debug xCode itself : Managed Schemes > Run > Info tab > Executable = Xcode.app
    You can open PluginPanel project file and run it with this way
    matkatmusic
    @matkatmusic
    right, that's what I'm doing.
    ok, does any of this help:
    MT] DVTAssertions: UNCAUGHT EXCEPTION (NSInternalInconsistencyException): Extension Xcode.IDEKit.CmdHandler.CaptureViewHierarchy class 'DBGMenuController' not found for required key 'handlerClass'
    UserInfo: {
    DVTExtensionClassNameErrorKey = DBGMenuController;
    DVTExtensionIdentifierErrorKey = "Xcode.IDEKit.CmdHandler.CaptureViewHierarchy";
    DVTPlugInExecutablePathErrorKey = "/Applications/Xcode.app/Contents/PlugIns/DebuggerUI.ideplugin";;
    DVTPlugInIdentifierErrorKey = "com.apple.dt.dbg.DebuggerUI";
    }
    Alex
    @AlexIzh
    heh, can you try build(not run) PluginPanel and restart your xcode. I don’t know why, but I get crashe too if I run it like I written before. But if I only build and restart xcode - it works
    matkatmusic
    @matkatmusic
    sure, will do. i'm trying to get it to hit some breakpoints at the very least
    Application Specific Information:
    Sending _buttonAction: to <DVTGenericButtonViewController: 0x7fbeaff05a70> from <NSButton: 0x7fbeaff04bd0>
    ProductBuildVersion: 6C131e
    UNCAUGHT EXCEPTION (NSInvalidArgumentException): * -[__NSSetM addObject:]: object cannot be nil
    UserInfo: (null)
    Hints:
    0: Sending _buttonAction: to <DVTGenericButtonViewController: 0x7fbeaff05a70> from <NSButton: 0x7fbeaff04bd0>
    Alex
    @AlexIzh
    So, I commited, can you try it again? I mean, download latest version and reinstall
    matkatmusic
    @matkatmusic
    /Users/charlesschiermeyer/Desktop/PluginPanel-master/PluginPanel/PluginPanel/PluginPanel.m:232:34: PerformSelector may cause a leak because its selector is unknown
    just a warning on that
    Alex
    @AlexIzh
    Yes, I know it.
    matkatmusic
    @matkatmusic
    oh ok
    Alex
    @AlexIzh
    because I need turn off button
    matkatmusic
    @matkatmusic
    yeah, nothin'. same crash as before
    any idea where I can set a breakpoint to catch when your app first loads?
    er, pluginPanel first loads?
    Alex
    @AlexIzh
    can you try it on another xcode version? Crash should be between 217 and 256 lines
    matkatmusic
    @matkatmusic
    of what file?
    Alex
    @AlexIzh
    PluginPanel
    any news?
    My time is 5am already. I think time to go to bed )
    matkatmusic
    @matkatmusic
    nope, still crashing :-(
    i guess you gotta change the sysReq for your plugin to be XCode 7+
    Alex
    @AlexIzh
    probably yes. it’s strange, because I wrote this plugin on Xcode 6
    matkatmusic
    @matkatmusic
    wow, that's weird.
    Alex
    @AlexIzh
    absolutely
    matkatmusic
    @matkatmusic
    maybe I should upgrade from 10.9.5 to 10.11 and use XCode 7
    Alex
    @AlexIzh
    maybe you have some special xcode build? :)
    matkatmusic
    @matkatmusic
    lol definitely not
    Alex
    @AlexIzh
    probably problem in the mac os version, I don’t know. probably it has old DVTFoundation and other system frameworks
    which I use
    But I wrote this plugin ~ 1.5 - 2 years ago, and I had the same os x version, I think
    so this bug is really strange
    I will also investigate it tomorrow. probably I will find problem
    matkatmusic
    @matkatmusic
    no worries.
    I appreciate your efforts to make it work.
    it seems like it could be really handy
    esp when paired with that XTodo plugin