使用Xcode调试Maya插件 [英] Debugging Maya Plugin with Xcode

查看:99
本文介绍了使用Xcode调试Maya插件的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在尝试使用Xcode 4.6.3调试功能调试为Maya 2013构建的Maya插件.我希望能够设置一个断点并通过该插件进行跟踪,但是我无法为Maya调试设置Xcode.在编辑方案"部分中,我将可执行文件设置为Maya.app,但这会在控制台"窗口中产生以下输出:

I am trying to debug my Maya plugin that I build for Maya 2013 using Xcode 4.6.3 debugging features. I want to be able to set a breakpoint and trace through the plugin but I am not able to set Xcode up for Maya debugging. In the Edit Scheme section, I set the executable to Maya.app but that results in the following output in my Console window:

Flags:
-v                       prints the product version and cut number
-batch                   for batch mode
-prompt                  for interactive non-gui mode
-proj [dir]              look for files in the specified project dir
-command [mel command]   runs the specified command on startup
-file [file]             opens the specified file
-script [file]           sources the specified file on startup
                         (use complete file name)
-recover                 recover the last journal file
                         (use 'Render -help' for more options)
-optimizeRender [file] [outfile]
                     optimize maya file efficient for rendering
                         purposes, and put result in outfile
                         (use 'maya -optimizeRender -help' for more options)
-archive [file]          displays a list of files required to archive
                         the specified scene.
-noAutoloadPlugins       do not auto-load any plug-ins.
-3                       enable Python 3000 compatibility warnings
-help                    prints this message

我已将构建配置设置为调试".唯一有用的已知链接是,但现在它已严重过时.

I have set the build configuration to 'Debug'. The only known link that was helpful was this but now its severely outdated.

有人可以帮助我设置Xcode进行Maya调试吗?

Could anyone please help me in setting Xcode up for Maya debugging?

推荐答案

此链接为在Visual Studio中调试Maya插件提供了很好的解释.可以将相同的过程应用于Xcode.

This link provides a very good explanation for debugging Maya plugins in Visual Studio. The same process can be applied to Xcode.

链接:- https://alliance.seas.upenn.edu/~cis660/wiki/index.php?title=Debug_CPP_Plugin

这篇关于使用Xcode调试Maya插件的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆