[Mono-osx] Debugging the OpenFile override in MonoMac AppDelegate
sohummm
me at sohummm.com
Fri Oct 21 11:36:00 EDT 2011
Hi there,
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
http://stackoverflow.com/questions/2998203/how-to-make-finder-open-with-work-for-my-application-xcode-os-x
this StackOverflow question 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?
Thanks!
--
View this message in context: http://mono.1490590.n4.nabble.com/Debugging-the-OpenFile-override-in-MonoMac-AppDelegate-tp3925882p3925882.html
Sent from the Mono - OSX mailing list archive at Nabble.com.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.ximian.com/pipermail/mono-osx/attachments/20111021/255d6354/attachment.html
More information about the Mono-osx
mailing list