When I set a break point, and start the debugger in my visual studio, the 'maya.exe' is automatically started.But once maya loads I get the following error message.
"Windows has trigered a break point in maya.exe. This may be due to a currption of the heap and indicates a bug in maya.exe or any of the DLLs it has loaded."
Im relativley new to working with plugins.So im pretty clueless as to wats causing this problem.Once I setup the debugger properly,I would be able to pick it up from there.
I will list out wat i did so far.So you can guide me better.
1)I have compiled and built my foo.mll maya plugin.
(my plugin is a simple command plugin that displays the CVs of the selected object on the maya output window)
2)I copied my plugin into the plugins folder of maya.
(I tested my plugin in maya and its working fine.)
3)Now when I try to run my plugin code in debugging mode(F5),I get the following warning,
Debugging information for 'maya.exe' cannot be found or does not match.No symbols loaded.
when i give continue.the debugger starts 'maya.exe' but as soon as maya loads,I get the following error message.
Windows has trigered a break point in maya.exe. This may be due to a currption of the heap and indicates a bug in maya.exe or any of the DLLs it has loaded.
(This is irrespective of Whether or not I have a break point set in my plugin code or not)
any pointers as to what might be going wrong or about how to find out wats going wrong would be really helpful.