Mailing Lists: Apple Mailing Lists

Image of Mac OS face in stamp
 
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

GDB trying to execute bad commands...



While debugging an app in debug mode, GDB starts properly, but suddently, GDB fails when when reaching a breakpoint, or being called with the pause button.
Instead of displaying data in the debug window, it display a portion of a source code file and  tries to  interpret  bad commands taken from this  source code module and obviously fails.
I have tried everything to cure this ( clean-up,...) without success.
I have not (voluntarily) set any variable in Xcode or GDB.
Debugging another app from the  developper samples folder works OK.
So i guess the problem is somewhere in the settings of my project. But where ?

Any idea or directions welcome.
Thank you

JP

[Session started at 2007-08-03 17:50:53 +0200.]
GNU gdb 6.3.50-20050815 (Apple version gdb-573) (Fri Oct 20 15:54:33 GMT 2006)
Copyright 2004 Free Software Foundation, Inc.
GDB is free software, covered by the GNU General Public License, and you are
welcome to change it and/or distribute copies of it under certain conditions.
Type "show copying" to see the conditions.
There is absolutely no warranty for GDB.  Type "show warranty" for details.
This GDB was configured as "powerpc-apple-darwin".
Loading program into debugger…

tty /dev/ttyp1
Program loaded.
sharedlibrary apply-load-rules all
(gdb) run
[Switching to process 10753 local thread 0xf03]
Running…

// printf("\t\telements %2d : \t",i);fflush(stdout);
pExplodedEntity= pEntityPtrs[i];  // first
// if the exploded entity has  OdDbAttributeDefinition, Grab it's value from the Insert attributs  and replace the text !
{
Undefined command: "".  Try "help".
Undefined command: "".  Try "help".
OdRxClass* myClass= pExplodedEntity->isA();
Undefined command: "OdRxClass".  Try "help".
Undefined command: "OdRxClass".  Try "help".
Undefined command: "".  Try "help".
Undefined command: "".  Try "help".
// printf("exploded isA :  %s\n",(const char*)myClass->name() );fflush(stdout);
if(myClass->name().compare("AcDbAttributeDefinition")==0)
> > > >  >  >  >  >   >   >   >   >   >   >   >   >   >   >   >   >   >   >   >   >(gdb) 

 _______________________________________________
Do not post admin requests to the list. They will be ignored.
Carbon-dev mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/carbon-dev/email@hidden

This email sent to email@hidden



Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2007 Apple Inc. All rights reserved.