![]() First, launch it without arguments under the debugger or trace program. ![]() If you want to debug or trace PowerPoint, I recommend that you do it in two steps. Cocoa will, by default, accept command-line arguments and treat them similarly to such Apple Events, but apparently PowerPoint is overriding that default behavior. Instead, it passes Apple Events to the application. The OS does not normally use that technique to tell applications to open documents. There's nothing anybody but Microsoft can do about that. ![]() If PowerPoint is not opening a document passed as a command-line argument, then that's a reflection on how PowerPoint was coded. I am confused about this, so, is there someone can help me to solve this problem? I even manually use "gdb /Applications/Microsoft Office 2011/Microsoft PowerPoint.app/Contents/MacOS/Microsoft PowerPoint" and "set args /Users/poc.pptx", and then "r", the target application can not run with the certain file opened. ![]() I have tried command line like "/Applications/Microsoft Office 2011/Microsoft PowerPoint.app/Contents/MacOS/Microsoft PowerPoint" /Users/poc.pptx, only Microsoft Point process started but the poc.pptx not opened.Īfter grepping the Microsoft Point with pptx file opened, it's something like: /Applications/Microsoft Office 2011/Microsoft PowerPoint.app/Contents/MacOS/Microsoft PowerPoint -psn_0_307275, there is no argument "poc.pptx". So ltrace mechanism can make as target for debugging and take as input. This means it's better if someone can give the command line like format. "open -a" is not the answer wanted, because I want to debug the Mac OS X application automatically. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. Archives
December 2022
Categories |