My system is CentOS7 x64, Maya2015 x64 for Linux.
- Make sure that your project is built with flag -g
- Start Maya, and find out the process ID of maya.bin.
e.g. you can find the process ID in System Monitor. This is my screenshot, and my maya.bin's process ID is 13687.
or use this command[1]:
ps -ae|grep maya.bin
or use python command:
import os; print os.getpid()
- Feed the ID to CodeBlocks. e.g. click CodeBlocks's Menu: "Debug" > "Attach to process".
Now Maya is blocked and there is a lot of message in Debugger window.
Starting debugger: /usr/bin/gdb -nx -fullname -quiet done Registered new type: wxString Registered new type: STL String Registered new type: STL Vector Setting breakpoints Attaching to program with pid: 13687 Debugger name and version: GNU gdb (GDB) Red Hat Enterprise Linux 7.6.1-51.el7 Attaching to process 13687 (no debugging symbols found)...done. Reading symbols from /usr/autodesk/maya2015-x64/lib/libMaya.so...(no debugging symbols found)...done. Reading symbols from /usr/autodesk/maya2015-x64/lib/libIMFbase.so...(no debugging symbols found)...done. Reading symbols from /usr/autodesk/maya2015-x64/lib/libawMarkingMenus.so...(no debugging symbols found)...done. (no debugging symbols found)...done. Reading symbols from /usr/autodesk/maya2015-x64/lib/libiff.so...(no debugging symbols found)...done. (no debugging symbols found)...done. Reading symbols from /usr/autodesk/maya2015-x64/lib/libAppVersion.so...(no debugging symbols found)...done. (no debugging symbols found)...done. Reading symbols from /usr/autodesk/maya2015-x64/lib/libAnimEngine.so...(no debugging symbols found)...done. Reading symbols from /usr/autodesk/maya2015-x64/lib/libCommandEngine.so...(no debugging symbols found)...done. (no debugging symbols found)...done. Reading symbols from /usr/autodesk/maya2015-x64/lib/libGeometryEngine.so...(no debugging symbols found)...done. (no debugging symbols found)...done. (no debugging symbols found)...done. Reading symbols from /usr/autodesk/maya2015-x64/lib/libDependCommand.so...(no debugging symbols found)...done. (no debugging symbols found)...done. (no debugging symbols found)...done. (no debugging symbols found)...done. Reading symbols from /usr/autodesk/maya2015-x64/lib/lib3dGraphics.so...(no debugging symbols found)...done. (no debugging symbols found)...done. (no debugging symbols found)...done. (no debugging symbols found)...done. (no debugging symbols found)...done. (no debugging symbols found)...done. (no debugging symbols found)...done. (no debugging symbols found)...done. Reading symbols from /usr/autodesk/maya2015-x64/lib/libHWGL.so...(no debugging symbols found)...done. Reading symbols from /usr/autodesk/maya2015-x64/lib/libHWRender.so...(no debugging symbols found)...done. (no debugging symbols found)...done. (no debugging symbols found)...done. (no debugging symbols found)...done. (no debugging symbols found)...done. (no debugging symbols found)...done. (no debugging symbols found)...done. Reading symbols from /usr/autodesk/maya2015-x64/lib/libModelSlice.so...(no debugging symbols found)...done. (no debugging symbols found)...done. (no debugging symbols found)...done. (no debugging symbols found)...done. Reading symbols from /usr/autodesk/maya2015-x64/lib/libTranslators.so...(no debugging symbols found)...done. (no debugging symbols found)...done. (no debugging symbols found)...done. (no debugging symbols found)...done. Reading symbols from /usr/autodesk/maya2015-x64/lib/libQtSvg.so.4...(no debugging symbols found)...done. Reading symbols from /lib64/libGLU.so.1...Reading symbols from /lib64/libGLU.so.1...(no debugging symbols found)...done. (no debugging symbols found)...done. Reading symbols from /usr/lib64/nvidia/libGL.so.1...(no debugging symbols found)...done. Reading symbols from /lib64/libXp.so.6...Reading symbols from /lib64/libXp.so.6...(no debugging symbols found)...done. (no debugging symbols found)...done. Reading symbols from /lib64/libXmu.so.6...Reading symbols from /lib64/libXmu.so.6...(no debugging symbols found)...done. (no debugging symbols found)...done. Reading symbols from /lib64/libXpm.so.4...Reading symbols from /lib64/libXpm.so.4...(no debugging symbols found)...done. (no debugging symbols found)...done. Reading symbols from /lib64/libXt.so.6...Reading symbols from /lib64/libXt.so.6...(no debugging symbols found)...done. (no debugging symbols found)...done. Reading symbols from /lib64/libXi.so.6...Reading symbols from /lib64/libXi.so.6...(no debugging symbols found)...done. (no debugging symbols found)...done. Reading symbols from /lib64/libXext.so.6...Reading symbols from /lib64/libXext.so.6...(no debugging symbols found)...done. (no debugging symbols found)...done. Reading symbols from /lib64/libX11.so.6...Reading symbols from /lib64/libX11.so.6...(no debugging symbols found)...done. (no debugging symbols found)...done. (no debugging symbols found)...done. Reading symbols from /lib64/libm.so.6...(no debugging symbols found)...done. (no debugging symbols found)...done. Reading symbols from /usr/autodesk/maya2015-x64/lib/libirng.so...(no debugging symbols found)...done. Reading symbols from /usr/autodesk/maya2015-x64/lib/libiomp5.so...(no debugging symbols found)...done. (no debugging symbols found)...done. Reading symbols from /lib64/libgcc_s.so.1...(no debugging symbols found)...done. Reading symbols from /usr/autodesk/maya2015-x64/lib/libintlc.so.5...(no debugging symbols found)...done. Reading symbols from /lib64/libpthread.so.0...(no debugging symbols found)...done. Reading symbols from /lib64/libc.so.6...(no debugging symbols found)...done. Reading symbols from /lib64/libdl.so.2...(no debugging symbols found)...done. Reading symbols from /usr/autodesk/maya2015-x64/lib/libawDebugTools.so...(no debugging symbols found)...done. (no debugging symbols found)...done. (no debugging symbols found)...done. (no debugging symbols found)...done. Reading symbols from /lib64/libz.so.1...Reading symbols from /lib64/libz.so.1...(no debugging symbols found)...done. (no debugging symbols found)...done. Reading symbols from /usr/autodesk/maya2015-x64/lib/libquicktime.so.0...(no debugging symbols found)...done. (no debugging symbols found)...done. (no debugging symbols found)...done. (no debugging symbols found)...done. (no debugging symbols found)...done. (no debugging symbols found)...done. Reading symbols from /lib64/libtiff.so.3...Reading symbols from /lib64/libtiff.so.3...(no debugging symbols found)...done. (no debugging symbols found)...done. Reading symbols from /lib64/libXinerama.so.1...Reading symbols from /lib64/libXinerama.so.1...(no debugging symbols found)...done. (no debugging symbols found)...done. Reading symbols from /lib64/libxml2.so.2...Reading symbols from /lib64/libxml2.so.2...(no debugging symbols found)...done. (no debugging symbols found)...done. (no debugging symbols found)...done. Reading symbols from /usr/autodesk/maya2015-x64/lib/libAutoCam.so...(no debugging symbols found)...done. Reading symbols from /usr/autodesk/maya2015-x64/lib/libPtex.so...(no debugging symbols found)...done. Reading symbols from /usr/autodesk/maya2015-x64/lib/libawCacheShared.so...(no debugging symbols found)...done. Reading symbols from /usr/autodesk/maya2015-x64/lib/libQtXml.so.4...(no debugging symbols found)...done. Reading symbols from /lib64/libfam.so.0...Reading symbols from /lib64/libfam.so.0...(no debugging symbols found)...done. (no debugging symbols found)...done. (no debugging symbols found)...done. (no debugging symbols found)...done. (no debugging symbols found)...done. (no debugging symbols found)...done. (no debugging symbols found)...done. Reading symbols from /usr/autodesk/maya2015-x64/lib/libSubdivGeom.so...(no debugging symbols found)...done. (no debugging symbols found)...done. (no debugging symbols found)...done. (no debugging symbols found)...done. Reading symbols from /usr/autodesk/maya2015-x64/lib/libadp_data-5_3.so...(no debugging symbols found)...done. (no debugging symbols found)...done. (no debugging symbols found)...done. (no debugging symbols found)...done. (no debugging symbols found)...done. (no debugging symbols found)...done. (no debugging symbols found)...done. (no debugging symbols found)...done. (no debugging symbols found)...done. Reading symbols from /usr/autodesk/maya2015-x64/lib/libweightXML.so...(no debugging symbols found)...done. (no debugging symbols found)...done. (no debugging symbols found)...done. Reading symbols from /usr/autodesk/maya2015-x64/lib/libUrchinSlice.so...(no debugging symbols found)...done. (no debugging symbols found)...done. (no debugging symbols found)...done. Reading symbols from /lib64/librt.so.1...(no debugging symbols found)...done. Reading symbols from /lib64/libuuid.so.1...Reading symbols from /lib64/libuuid.so.1...(no debugging symbols found)...done. (no debugging symbols found)...done. Reading symbols from /lib64/libgthread-2.0.so.0...Reading symbols from /lib64/libgthread-2.0.so.0...(no debugging symbols found)...done. (no debugging symbols found)...done. Reading symbols from /lib64/libglib-2.0.so.0...Reading symbols from /lib64/libglib-2.0.so.0...(no debugging symbols found)...done. (no debugging symbols found)...done. Reading symbols from /lib64/ld-linux-x86-64.so.2...(no debugging symbols found)...done. Reading symbols from /lib64/libpng12.so.0...Reading symbols from /lib64/libpng12.so.0...(no debugging symbols found)...done. (no debugging symbols found)...done. Reading symbols from /lib64/libfreetype.so.6...(no debugging symbols found)...done. (no debugging symbols found)...done. Reading symbols from /lib64/libgobject-2.0.so.0...Reading symbols from /lib64/libgobject-2.0.so.0...(no debugging symbols found)...done. (no debugging symbols found)...done. Reading symbols from /lib64/libSM.so.6...Reading symbols from /lib64/libSM.so.6...(no debugging symbols found)...done. (no debugging symbols found)...done. Reading symbols from /lib64/libICE.so.6...Reading symbols from /lib64/libICE.so.6...(no debugging symbols found)...done. (no debugging symbols found)...done. Reading symbols from /lib64/libXrender.so.1...Reading symbols from /lib64/libXrender.so.1...(no debugging symbols found)...done. (no debugging symbols found)...done. Reading symbols from /lib64/libfontconfig.so.1...Reading symbols from /lib64/libfontconfig.so.1...(no debugging symbols found)...done. (no debugging symbols found)...done. Reading symbols from /usr/lib64/nvidia/tls/libnvidia-tls.so.340.32...(no debugging symbols found)...done. Reading symbols from /usr/lib64/nvidia/libnvidia-glcore.so.340.32...(no debugging symbols found)...done. Reading symbols from /lib64/libXau.so.6...Reading symbols from /lib64/libXau.so.6...(no debugging symbols found)...done. (no debugging symbols found)...done. Reading symbols from /lib64/libxcb.so.1...Reading symbols from /lib64/libxcb.so.1...(no debugging symbols found)...done. (no debugging symbols found)...done. Reading symbols from /lib64/libcurl.so.4...Reading symbols from /lib64/libcurl.so.4...(no debugging symbols found)...done. (no debugging symbols found)...done. Reading symbols from /lib64/libXrandr.so.2...Reading symbols from /lib64/libXrandr.so.2...(no debugging symbols found)...done. (no debugging symbols found)...done. Reading symbols from /lib64/libutil.so.1...(no debugging symbols found)...done. (no debugging symbols found)...done. (no debugging symbols found)...done. Reading symbols from /lib64/libgstapp-0.10.so.0...Reading symbols from /lib64/libgstapp-0.10.so.0...(no debugging symbols found)...done. (no debugging symbols found)...done. Reading symbols from /lib64/libgstinterfaces-0.10.so.0...Reading symbols from /lib64/libgstinterfaces-0.10.so.0...(no debugging symbols found)...done. (no debugging symbols found)...done. Reading symbols from /lib64/libgstpbutils-0.10.so.0...Reading symbols from /lib64/libgstpbutils-0.10.so.0...(no debugging symbols found)...done. (no debugging symbols found)...done. Reading symbols from /lib64/libgstvideo-0.10.so.0...Reading symbols from /lib64/libgstvideo-0.10.so.0...(no debugging symbols found)...done. (no debugging symbols found)...done. Reading symbols from /lib64/libgstbase-0.10.so.0...Reading symbols from /lib64/libgstbase-0.10.so.0...(no debugging symbols found)...done. (no debugging symbols found)...done. (no debugging symbols found)...done. (no debugging symbols found)...done. Reading symbols from /lib64/libgmodule-2.0.so.0...Reading symbols from /lib64/libgmodule-2.0.so.0...(no debugging symbols found)...done. (no debugging symbols found)...done. Reading symbols from /lib64/libjpeg.so.62...Reading symbols from /lib64/libjpeg.so.62...(no debugging symbols found)...done. (no debugging symbols found)...done. Reading symbols from /lib64/liblzma.so.5...Reading symbols from /lib64/liblzma.so.5...(no debugging symbols found)...done. (no debugging symbols found)...done. (no debugging symbols found)...done. Reading symbols from /usr/autodesk/maya2015-x64/lib/libOGSArchive-5_3.so...(no debugging symbols found)...done. Reading symbols from /usr/autodesk/maya2015-x64/lib/libNsArchive10.so...(no debugging symbols found)...done. Reading symbols from /lib64/libssl.so.10...Reading symbols from /lib64/libssl.so.10...(no debugging symbols found)...done. (no debugging symbols found)...done. (no debugging symbols found)...done. (no debugging symbols found)...done. Reading symbols from /usr/autodesk/maya2015-x64/lib/libCg.so...(no debugging symbols found)...done. Reading symbols from /usr/autodesk/maya2015-x64/lib/libCgGL.so...(no debugging symbols found)...done. Reading symbols from /lib64/libffi.so.6...Reading symbols from /lib64/libffi.so.6...(no debugging symbols found)...done. (no debugging symbols found)...done. Reading symbols from /lib64/libexpat.so.1...Reading symbols from /lib64/libexpat.so.1...(no debugging symbols found)...done. (no debugging symbols found)...done. Reading symbols from /lib64/libidn.so.11...Reading symbols from /lib64/libidn.so.11...(no debugging symbols found)...done. (no debugging symbols found)...done. Reading symbols from /lib64/libssh2.so.1...Reading symbols from /lib64/libssh2.so.1...(no debugging symbols found)...done. (no debugging symbols found)...done. Reading symbols from /lib64/libssl3.so...Reading symbols from /lib64/libssl3.so...(no debugging symbols found)...done. (no debugging symbols found)...done. Reading symbols from /lib64/libsmime3.so...Reading symbols from /lib64/libsmime3.so...(no debugging symbols found)...done. (no debugging symbols found)...done. Reading symbols from /lib64/libnss3.so...Reading symbols from /lib64/libnss3.so...(no debugging symbols found)...done. (no debugging symbols found)...done. Reading symbols from /lib64/libnssutil3.so...Reading symbols from /lib64/libnssutil3.so...(no debugging symbols found)...done. (no debugging symbols found)...done. Reading symbols from /lib64/libplds4.so...Reading symbols from /lib64/libplds4.so...(no debugging symbols found)...done. (no debugging symbols found)...done. Reading symbols from /lib64/libplc4.so...Reading symbols from /lib64/libplc4.so...(no debugging symbols found)...done. (no debugging symbols found)...done. Reading symbols from /lib64/libnspr4.so...Reading symbols from /lib64/libnspr4.so...(no debugging symbols found)...done. (no debugging symbols found)...done. Reading symbols from /lib64/libgssapi_krb5.so.2...Reading symbols from /lib64/libgssapi_krb5.so.2...(no debugging symbols found)...done. (no debugging symbols found)...done. Reading symbols from /lib64/libkrb5.so.3...Reading symbols from /lib64/libkrb5.so.3...(no debugging symbols found)...done. (no debugging symbols found)...done. Reading symbols from /lib64/libk5crypto.so.3...Reading symbols from /lib64/libk5crypto.so.3...(no debugging symbols found)...done. (no debugging symbols found)...done. Reading symbols from /lib64/libcom_err.so.2...Reading symbols from /lib64/libcom_err.so.2...(no debugging symbols found)...done. (no debugging symbols found)...done. Reading symbols from /lib64/liblber-2.4.so.2...Reading symbols from /lib64/liblber-2.4.so.2...(no debugging symbols found)...done. (no debugging symbols found)...done. Reading symbols from /lib64/libldap-2.4.so.2...Reading symbols from /lib64/libldap-2.4.so.2...(no debugging symbols found)...done. (no debugging symbols found)...done. Reading symbols from /lib64/libselinux.so.1...Reading symbols from /lib64/libselinux.so.1...(no debugging symbols found)...done. (no debugging symbols found)...done. Reading symbols from /lib64/libresolv.so.2...(no debugging symbols found)...done. (no debugging symbols found)...done. (no debugging symbols found)...done. (no debugging symbols found)...done. Reading symbols from /lib64/libkrb5support.so.0...Reading symbols from /lib64/libkrb5support.so.0...(no debugging symbols found)...done. (no debugging symbols found)...done. Reading symbols from /lib64/libkeyutils.so.1...Reading symbols from /lib64/libkeyutils.so.1...(no debugging symbols found)...done. (no debugging symbols found)...done. Reading symbols from /lib64/libsasl2.so.3...Reading symbols from /lib64/libsasl2.so.3...(no debugging symbols found)...done. (no debugging symbols found)...done. Reading symbols from /lib64/libpcre.so.1...Reading symbols from /lib64/libpcre.so.1...(no debugging symbols found)...done. (no debugging symbols found)...done. Reading symbols from /lib64/libcrypt.so.1...(no debugging symbols found)...done. Reading symbols from /lib64/libfreebl3.so...Reading symbols from /lib64/libfreebl3.so...(no debugging symbols found)...done. (no debugging symbols found)...done. Reading symbols from /usr/lib64/gconv/UTF-16.so...(no debugging symbols found)...done. Reading symbols from /lib64/libnss_files.so.2...(no debugging symbols found)...done. Reading symbols from /lib64/libnss_mdns4_minimal.so.2...Reading symbols from /lib64/libnss_mdns4_minimal.so.2...(no debugging symbols found)...done. (no debugging symbols found)...done. Reading symbols from /lib64/libnss_dns.so.2...(no debugging symbols found)...done. Reading symbols from /lib64/libnss_myhostname.so.2...Reading symbols from /lib64/libnss_myhostname.so.2...(no debugging symbols found)...done. (no debugging symbols found)...done. Reading symbols from /lib64/libXfixes.so...Reading symbols from /lib64/libXfixes.so...(no debugging symbols found)...done. (no debugging symbols found)...done. Reading symbols from /lib64/libXcursor.so.1...Reading symbols from /lib64/libXcursor.so.1...(no debugging symbols found)...done. (no debugging symbols found)...done. Reading symbols from /lib64/libgconf-2.so.4...Reading symbols from /lib64/libgconf-2.so.4...(no debugging symbols found)...done. (no debugging symbols found)...done. Reading symbols from /lib64/libdbus-glib-1.so.2...Reading symbols from /lib64/libdbus-glib-1.so.2...(no debugging symbols found)...done. (no debugging symbols found)...done. Reading symbols from /lib64/libdbus-1.so.3...Reading symbols from /lib64/libdbus-1.so.3...(no debugging symbols found)...done. (no debugging symbols found)...done. Reading symbols from /usr/autodesk/maya2015-x64/qt-plugins/imageformats/libqgif.so...(no debugging symbols found)...done. Reading symbols from /usr/autodesk/maya2015-x64/qt-plugins/imageformats/libqico.so...(no debugging symbols found)...done. Reading symbols from /usr/autodesk/maya2015-x64/qt-plugins/imageformats/libqjpeg.so...(no debugging symbols found)...done. Reading symbols from /usr/autodesk/maya2015-x64/qt-plugins/imageformats/libqmng.so...(no debugging symbols found)...done. (no debugging symbols found)...done. (no debugging symbols found)...done. Reading symbols from /usr/autodesk/maya2015-x64/qt-plugins/imageformats/libqsvg.so...(no debugging symbols found)...done. Reading symbols from /usr/autodesk/maya2015-x64/qt-plugins/imageformats/libqtga.so...(no debugging symbols found)...done. Reading symbols from /usr/autodesk/maya2015-x64/qt-plugins/imageformats/libqtiff.so...(no debugging symbols found)...done. (no debugging symbols found)...done. (no debugging symbols found)...done. (no debugging symbols found)...done. Reading symbols from /usr/autodesk/maya2015-x64/lib/libUIComponents.so...(no debugging symbols found)...done. (no debugging symbols found)...done. (no debugging symbols found)...done. (no debugging symbols found)...done. Reading symbols from /usr/autodesk/maya2015-x64/lib/libQtSql.so.4...(no debugging symbols found)...done. Reading symbols from /lib64/libbz2.so.1...Reading symbols from /lib64/libbz2.so.1...(no debugging symbols found)...done. (no debugging symbols found)...done. (no debugging symbols found)...done. (no debugging symbols found)...done. (no debugging symbols found)...done. (no debugging symbols found)...done. Reading symbols from /usr/autodesk/maya2015-x64/lib/libDevices.so...(no debugging symbols found)...done. (no debugging symbols found)...done. Reading symbols from /usr/autodesk/maya2015-x64/lib/libDynUISlice.so...(no debugging symbols found)...done. Reading symbols from /usr/autodesk/maya2015-x64/lib/libDeformUISlice.so...(no debugging symbols found)...done. Reading symbols from /usr/autodesk/maya2015-x64/lib/libKinUISlice.so...(no debugging symbols found)...done. Reading symbols from /usr/autodesk/maya2015-x64/lib/libProjectSlice.so...(no debugging symbols found)...done. (no debugging symbols found)...done. Reading symbols from /usr/autodesk/maya2015-x64/lib/libUrchinUISlice.so...(no debugging symbols found)...done. Reading symbols from /usr/autodesk/maya2015-x64/lib/libOGSIOIntegration-5_3.so...(no debugging symbols found)...done. (no debugging symbols found)...done. (no debugging symbols found)...done. (no debugging symbols found)...done. (no debugging symbols found)...done. (no debugging symbols found)...done. (no debugging symbols found)...done. Reading symbols from /usr/autodesk/maya2015-x64/lib/libOpenMayaFX.so...(no debugging symbols found)...done. (no debugging symbols found)...done. (no debugging symbols found)...done. Reading symbols from /usr/autodesk/maya2015-x64/lib/python2.7/site-packages/maya/_OpenMayaAnim.so...(no debugging symbols found)...done. Reading symbols from /usr/autodesk/maya2015-x64/bin/plug-ins/tiffFloatReader.so...(no debugging symbols found)...done. (no debugging symbols found)...done. Reading symbols from /usr/autodesk/maya2015-x64/plug-ins/bifrost/plug-ins/../lib/libcompute_node.so...(no debugging symbols found)...done. Reading symbols from /usr/autodesk/maya2015-x64/plug-ins/bifrost/plug-ins/../lib/libcompute_service.so...(no debugging symbols found)...done. Reading symbols from /usr/autodesk/maya2015-x64/plug-ins/bifrost/plug-ins/../lib/libcompute_runtime.so...(no debugging symbols found)...done. Reading symbols from /usr/autodesk/maya2015-x64/plug-ins/bifrost/plug-ins/../lib/libaminobase.so...(no debugging symbols found)...done. (no debugging symbols found)...done. (no debugging symbols found)...done. Reading symbols from /usr/autodesk/maya2015-x64/plug-ins/bifrost/plug-ins/../lib/libbifrostemp.so...(no debugging symbols found)...done. (no debugging symbols found)...done. (no debugging symbols found)...done. (no debugging symbols found)...done. (no debugging symbols found)...done. Reading symbols from /usr/autodesk/maya2015-x64/plug-ins/bifrost/plug-ins/../lib/libaminograph.so...(no debugging symbols found)...done. Reading symbols from /usr/autodesk/maya2015-x64/plug-ins/bifrost/plug-ins/../lib/libbasecommand.so...(no debugging symbols found)...done. (no debugging symbols found)...done. Reading symbols from /usr/autodesk/maya2015-x64/plug-ins/bifrost/plug-ins/../lib/libmwbase.so...(no debugging symbols found)...done. (no debugging symbols found)...done. Reading symbols from /usr/autodesk/maya2015-x64/plug-ins/bifrost/plug-ins/../lib/libmwdbproxy.so...(no debugging symbols found)...done. (no debugging symbols found)...done. Reading symbols from /usr/autodesk/maya2015-x64/lib/libawBoost_thread-1_52.so...(no debugging symbols found)...done. Reading symbols from /usr/autodesk/maya2015-x64/lib/libawBoost_system-1_52.so...(no debugging symbols found)...done. Reading symbols from /usr/autodesk/maya2015-x64/plug-ins/bifrost/plug-ins/../lib/libcompute_binary.so...(no debugging symbols found)...done. Reading symbols from /usr/autodesk/maya2015-x64/plug-ins/bifrost/plug-ins/../lib/libsfkernel.so...(no debugging symbols found)...done. Reading symbols from /usr/autodesk/maya2015-x64/lib/libawBoost_filesystem-1_52.so...(no debugging symbols found)...done. Reading symbols from /usr/autodesk/maya2015-x64/plug-ins/bifrost/plug-ins/../lib/librtbase.so...(no debugging symbols found)...done. (no debugging symbols found)...done. (no debugging symbols found)...done. Reading symbols from /usr/autodesk/maya2015-x64/plug-ins/bifrost/plug-ins/../lib/libagwplatform.so...(no debugging symbols found)...done. Reading symbols from /usr/autodesk/maya2015-x64/plug-ins/bifrost/plug-ins/../lib/libbaseselection.so...(no debugging symbols found)...done. (no debugging symbols found)...done. Reading symbols from /usr/autodesk/maya2015-x64/plug-ins/bifrost/plug-ins/../lib/liblogmanager.so...(no debugging symbols found)...done. Reading symbols from /usr/autodesk/maya2015-x64/plug-ins/bifrost/plug-ins/../lib/libbasegraph.so...(no debugging symbols found)...done. (no debugging symbols found)...done. (no debugging symbols found)...done. Reading symbols from /usr/autodesk/maya2015-x64/lib/libawBoost_signals-1_52.so...(no debugging symbols found)...done. (no debugging symbols found)...done. Reading symbols from /usr/autodesk/maya2015-x64/plug-ins/bifrost/plug-ins/../lib/libsolverapi.so...(no debugging symbols found)...done. Reading symbols from /lib64/libncurses.so.5...Reading symbols from /lib64/libncurses.so.5...(no debugging symbols found)...done. (no debugging symbols found)...done. Reading symbols from /usr/autodesk/maya2015-x64/plug-ins/bifrost/plug-ins/../lib/libbuffers.so...(no debugging symbols found)...done. Reading symbols from /lib64/libtinfo.so.5...Reading symbols from /lib64/libtinfo.so.5...(no debugging symbols found)...done. (no debugging symbols found)...done. Reading symbols from /usr/autodesk/mentalrayForMaya2015/plug-ins/Mayatomr.so.debug...(no debugging symbols found)...done. (no debugging symbols found)...done. Reading symbols from /usr/autodesk/mentalrayForMaya2015/shaders/abcimport.so...(no debugging symbols found)...done. Reading symbols from /usr/autodesk/mentalrayForMaya2015/shaders/architectural.so...(no debugging symbols found)...done. Reading symbols from /usr/autodesk/mentalrayForMaya2015/shaders/base.so...(no debugging symbols found)...done. Reading symbols from /usr/autodesk/mentalrayForMaya2015/shaders/basehair.so...(no debugging symbols found)...done. Reading symbols from /usr/autodesk/mentalrayForMaya2015/shaders/contour.so...(no debugging symbols found)...done. Reading symbols from /usr/autodesk/mentalrayForMaya2015/shaders/layering.so...(no debugging symbols found)...done. Reading symbols from /usr/autodesk/mentalrayForMaya2015/shaders/mrptex.so...(no debugging symbols found)...done. Reading symbols from /usr/autodesk/mentalrayForMaya2015/shaders/paint.so...(no debugging symbols found)...done. Reading symbols from /usr/autodesk/mentalrayForMaya2015/shaders/physics.so...(no debugging symbols found)...done. Reading symbols from /usr/autodesk/mentalrayForMaya2015/shaders/production.so...(no debugging symbols found)...done. Reading symbols from /usr/autodesk/mentalrayForMaya2015/shaders/subsurface.so...(no debugging symbols found)...done. Reading symbols from /usr/autodesk/mentalrayForMaya2015/shaders/userdata.so...(no debugging symbols found)...done. (no debugging symbols found)...done. (no debugging symbols found)...done. Reading symbols from /usr/autodesk/mentalrayForMaya2015/shaders/../../maya2015-x64/plug-ins/xgen/lib/libAdskSeExpr.so...(no debugging symbols found)...done. (no debugging symbols found)...done. Reading symbols from /usr/autodesk/mentalrayForMaya2015/shaders/../../maya2015-x64/plug-ins/xgen/lib/libAdskPartio.so...(no debugging symbols found)...done. Reading symbols from /usr/autodesk/mentalrayForMaya2015/shaders/../../maya2015-x64/plug-ins/xgen/lib/libAdskCaf.so...(no debugging symbols found)...done. Reading symbols from /usr/autodesk/mentalrayForMaya2015/shaders/../../maya2015-x64/plug-ins/xgen/lib/libAdskFabricMath.so...(no debugging symbols found)...done. Reading symbols from /usr/autodesk/mentalrayForMaya2015/shaders/../../maya2015-x64/plug-ins/xgen/lib/libAdskFabricGeom.so...(no debugging symbols found)...done. Reading symbols from /usr/autodesk/mentalrayForMaya2015/shaders/../../maya2015-x64/plug-ins/xgen/lib/libAdskSubEngine.so...(no debugging symbols found)...done. Reading symbols from /usr/autodesk/mentalrayForMaya2015/shaders/../../maya2015-x64/plug-ins/xgen/lib/libAdskXpd.so...(no debugging symbols found)...done. Reading symbols from /usr/autodesk/maya2015-x64/bin/plug-ins/ikSpringSolver.so...(no debugging symbols found)...done. Reading symbols from /usr/autodesk/maya2015-x64/bin/plug-ins/ik2Bsolver.so...(no debugging symbols found)...done. (no debugging symbols found)...done. Reading symbols from /usr/autodesk/maya2015-x64/plug-ins/xgen/plug-ins/../lib/libAdskXgUI.so...(no debugging symbols found)...done. Reading symbols from /usr/autodesk/maya2015-x64/plug-ins/xgen/scripts/xgenm/_XgExternalAPI.so...(no debugging symbols found)...done. Reading symbols from /usr/autodesk/maya2015-x64/lib/python2.7/site-packages/shiboken.so...(no debugging symbols found)...done. Reading symbols from /usr/autodesk/maya2015-x64/lib/libshiboken-python2.7.so.1.2...(no debugging symbols found)...done. (no debugging symbols found)...done. Reading symbols from /usr/autodesk/maya2015-x64/lib/libpyside-python2.7.so.1.2...(no debugging symbols found)...done. (no debugging symbols found)...done. Reading symbols from /usr/autodesk/maya2015-x64/plug-ins/xgen/scripts/xgenm/ui/XgExprEditor.so...(no debugging symbols found)...done. Reading symbols from /usr/autodesk/maya2015-x64/plug-ins/xgen/scripts/xgenm/ui/XgMessageUI.so...(no debugging symbols found)...done. (no debugging symbols found)...done. Reading symbols from /usr/autodesk/maya2015-x64/bin/plug-ins/OpenEXRLoader.so...(no debugging symbols found)...done. (no debugging symbols found)...done. Reading symbols from /lib64/libgomp.so.1...(no debugging symbols found)...done. (no debugging symbols found)...done. (no debugging symbols found)...done. Reading symbols from /usr/autodesk/maya2015-x64/bin/plug-ins/rotateHelper.so...(no debugging symbols found)...done. Reading symbols from /usr/autodesk/maya2015-x64/bin/plug-ins/MayaMuscle.so...(no debugging symbols found)...done. Reading symbols from /usr/autodesk/maya2015-x64/bin/plug-ins/matrixNodes.so...(no debugging symbols found)...done. (no debugging symbols found)...done. (no debugging symbols found)...done. Reading symbols from /usr/autodesk/maya2015-x64/plug-ins/bifrost/plug-ins/../lib/libbinarizationmgr.so...(no debugging symbols found)...done. (no debugging symbols found)...done. Reading symbols from /usr/autodesk/maya2015-x64/plug-ins/bifrost/plug-ins/../lib/libinspector.so...(no debugging symbols found)...done. Reading symbols from /usr/autodesk/maya2015-x64/plug-ins/bifrost/plug-ins/../lib/libcpptypeinjector.so...(no debugging symbols found)...done. (no debugging symbols found)...done. Reading symbols from /usr/autodesk/maya2015-x64/plug-ins/bifrost/plug-ins/../lib/libmwgrapheditor.so...(no debugging symbols found)...done. (no debugging symbols found)...done. Reading symbols from /usr/autodesk/maya2015-x64/plug-ins/bifrost/plug-ins/../lib/libmwnodebrowser.so...(no debugging symbols found)...done. Reading symbols from /usr/autodesk/maya2015-x64/plug-ins/bifrost/plug-ins/../lib/libmwnodebrowserview.so...(no debugging symbols found)...done. (no debugging symbols found)...done. (no debugging symbols found)...done. Reading symbols from /usr/autodesk/maya2015-x64/bin/plug-ins/autoLoader.so...(no debugging symbols found)...done. Reading symbols from /usr/autodesk/maya2015-x64/bin/plug-ins/sceneAssembly.so...(no debugging symbols found)...done. (no debugging symbols found)...done. Reading symbols from /usr/autodesk/maya2015-x64/plug-ins/substance/plug-ins/Substance.so...(no debugging symbols found)...done. Reading symbols from /usr/autodesk/maya2015-x64/plug-ins/substance/plug-ins/libsubstance_sse2_blend.so.1...(no debugging symbols found)...done. Reading symbols from /usr/autodesk/maya2015-x64/plug-ins/substance/plug-ins/libsubstance_linker.so.1...(no debugging symbols found)...done. Reading symbols from /usr/autodesk/maya2015-x64/bin/plug-ins/OneClick.so...(no debugging symbols found)...done. (no debugging symbols found)...done. (no debugging symbols found)...done. Reading symbols from /usr/autodesk/maya2015-x64/bin/plug-ins/ArubaTessellator.so...(no debugging symbols found)...done. (no debugging symbols found)...done. (no debugging symbols found)...done. Reading symbols from /usr/autodesk/maya2015-x64/lib/libImageDefn.so...(no debugging symbols found)...done. Reading symbols from /usr/autodesk/maya2015-x64/lib/libpcre.so...(no debugging symbols found)...done. Reading symbols from /usr/autodesk/maya2015-x64/lib/python2.7/site-packages/maya/api/_OpenMaya_py2.so...(no debugging symbols found)...done. Reading symbols from /usr/autodesk/maya2015-x64/bin/plug-ins/quatNodes.so...(no debugging symbols found)...done. (no debugging symbols found)...done. (no debugging symbols found)...done. In poll () (/lib64/libc.so.6)
- You have to click menu "Debug" > "Start/Continue" to let debugger go on. [1]
The Debugger window says "Continuing...", and Maya is not blocked now.
- Let's set a break point in the begining of initializePlugin(...)
and load the plugin in Maya.(My plugin is libdynamic_enum.so)
- Maya is blocked now. You have to click menu "Debug" > "Start/Continue" to let debugger go on. When you press this menu, the Debugger window will say:
In __cxa_throw () (/lib64/libstdc++.so.6) Continuing...
And here is the key:
Keep clicking the menu("Debug" > "Start/Continue") until the debugger enters your source code.
or,
Settings > Debugger > GDB/CDB debugger > Default > Disable "Catch C++ exceptions"
It doesn't matter with the environment variable MAYA_DEBUG_NO_SIGNAL_HANDLERS [2].
To let Maya not be blocked, I have to press "Debug" > "Start/Continue" not matter I create MAYA_DEBUG_NO_SIGNAL_HANDLERS or not.
- Press menu "Debug" > "Start/Continue" to let debugger go on, and Maya will not be blocked anymore.
P.S.
Sometimes, the output window can't be shown. The output window is convenient for outputing the debug message in my plugin development(e.g. printf(...) ). Now, in order to show the debug message, I have to lanuch maya in this way which is inconvenient:
$ /bin/csh -f /usr/autodesk/maya/bin/maya
References:
[1] Debugging Maya Plugin (Linux + Code::Blocks). Thanks for this post, it gives me a lot of help.