I'm trying to write a file open handler for a custom file type in a MonoMac application. I've gone ahead and modified the Info.plist to accept my filetype and followed the suggestion in <a href="http://stackoverflow.com/questions/2998203/how-to-make-finder-open-with-work-for-my-application-xcode-os-x" target="_top" rel="nofollow" link="external">this StackOverflow question</a> to implement an OpenFile override in my AppDelegate.cs file.
However, for some reason when I click on Open With... in finder and select my application, the application launches and quits immediately. This is different behavior from when I hadn't implemented the OpenFile override, where I got an error message saying the app couldn't handle that document type.
I was wondering if there was a way to get the MonoDevelop debugger to assume that a file had been opened so that I can set a breakpoint in my OpenFile method and debug the behavior?
<br/><hr align="left" width="300" />
View this message in context: <a href="http://mono.1490590.n4.nabble.com/Debugging-the-OpenFile-override-in-MonoMac-AppDelegate-tp3925882p3925882.html">Debugging the OpenFile override in MonoMac AppDelegate</a><br/>
Sent from the <a href="http://mono.1490590.n4.nabble.com/Mono-OSX-f1546893.html">Mono - OSX mailing list archive</a> at Nabble.com.<br/>