01-09-2010 03:54 PM
hi all,
I am trying to debug a MacOS Framework (in Windows, this is like a DLL). On a WindowsPC, I compiled my C++-Code into a DLL (debug on) and then chose LabView in Microsoft Visual C++ to connect to LabView and debug my DLL (which is called by a LabView-VI). This worked perfectly for me. Now trying to do the same with mac. Created a framework (debug on), chose LabView as Application and run it... but with MacOS (using XCode and GDB as debugger), it doesn't work. The breakpoints defined in my XCode-Code are found by GDB, if a breakpoint is hit, LabView waits and doesn't continue with the LV-Code. But I get a GDB-Error: Previous frame inner to this frame (could not unwind past this frame). Can't get any access to local variables in C++, so I can't really debug my code. The only solution is to switch back to Windows to find errors - but that's very annoying. Somebody can explain this error message or tell me where to look for a fault / tell me what to do?
Thanks in advance
Christian
01-14-2010 01:48 AM
01-14-2010 05:47 PM
Hi Christian,
This can occur when you don't have enough stack frames between the current frame and gencode. Try setting the breakpoint a couple of lines deeper or a couple of functions deeper in the code - not on the top level function. Please post if this makes a difference.
Regards,