Where communities thrive


  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
People
Activity
    matkatmusic
    @matkatmusic
    Yeah had to remove it. Is it possible to set your pluginpanel up so it doesnt need TimePlugin to work?
    Alex
    @AlexIzh
    Of course, TimePlugin is example only. How you can use PluginPanel
    Can you try download latest PluginPanel and re-install it? I updated it just now
    BTW but TimePlugin is good idea, I need improve it
    Also, I created issue for Alcatraz about dependencies. I mean:
    For example, if I have plugin for PluginPanel(special panel for plugins for Xcode), and user wants to install my plugin, he needs install PluginPanel first. Does Alcatraz have dependecy management feature? Will be cool, if I can add some special field to description of my plugin like:
    dependencies: [ link_one, link_two]
    And when user taps to install to my plugin Alcatraz will install dependencies also
    But i don’t sure that developers will add this feature
    matkatmusic
    @matkatmusic
    Yeah lemme head to the computer.
    I'm on my phone right now

    technology!!

    Alex
    @AlexIzh
    :)
    Ok. I don’t sure that new version of PluginPanel will fix crash. But I hope
    matkatmusic
    @matkatmusic
    ok, am at the computer
    lemme grab new version
    and I'll see what happens.
    Alex
    @AlexIzh
    good
    to be honest, I don’t know where it’s crashed
    matkatmusic
    @matkatmusic
    i'll pass a crash log if one happens
    ok, XCode up and running with your plugin button on the upper right.
    0 0x00007fff981b0244 exceptionPreprocess (in CoreFoundation)
    1 0x000000010dcd8764 DVTFailureHintExceptionPreprocessor (in DVTFoundation)
    2 0x00007fff8cea5e75 objc_exception_throw (in libobjc.A.dylib)
    3 0x00007fff980cf966 -[
    NSSetM addObject:] (in CoreFoundation)
    4 0x000000011410f1cf (in PluginPanel)
    5 0x0000000114110a90 (in PluginPanel)
    6 0x000000010e1a6d50 -[DVTGenericButtonViewController _buttonAction:] (in DVTKit)
    7 0x00007fff9231c260 -[NSApplication sendAction:to:from:] (in AppKit)
    8 0x000000010e244780 __37-[DVTApplication sendAction:to:from:]_block_invoke (in DVTKit)
    9 0x000000010dcd84a2 DVTInvokeWithFailureHint (in DVTFoundation)
    10 0x000000010e10ecae -[DVTApplication sendAction:to:from:] (in DVTKit)
    Alex
    @AlexIzh
    I don’t see code, where I add something in the NSMutableSet
    matkatmusic
    @matkatmusic
    it's probably where you try to create the PluginPanel window and instantiate the plugins.
    if there are none, it'll crash
    Alex
    @AlexIzh
    when you tap to right-top button?
    Crash
    matkatmusic
    @matkatmusic
    yes. I have no plugins other than Plugin Panel in my /Developer/XCode/Plugins folder
    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