• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Incorrect source file displayed in the debugger
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Incorrect source file displayed in the debugger


  • Subject: Incorrect source file displayed in the debugger
  • From: Bryan Christianson <email@hidden>
  • Date: Fri, 3 Mar 2006 16:36:42 +1300

I have a C++ base class that contains a pure virtual function. When I attempt to trace into a subclass (by setting a breakpoint where the virtual function is called), instead of seeing the source of the subclass, I am seeing the header file for the base class, with the current line pointer sitting on the closing #endif at the end of the file.

I have tried setting break points in the file I wish to see and they are never actioned although the code at that position is executed.

The stack frame (local variables etc) is being displayed correctly and the stack-trace panel is also correct - its just not the source code I expected or wanted to see.

I dont think I can make a simple example that demonstrates this problem, but if anyone has any hints as to what I might be doing wrong I would appreciate the help.

This is with XCode 2.2 running MaxOS X 10.4.5 on a Dual G4
--
Bryan Christianson
email:		<mailto:email@hidden>
Home Page:	<http://www.whatroute.net/>
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Xcode-users mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden


  • Prev by Date: Re: [Config Files] [Solved!] Config file evaluation problems
  • Next by Date: Re: [Config Files] What can I really modify in a config file?
  • Previous by thread: Re: [Config Files] [Solved!] Config file evaluation problems
  • Next by thread: Debug Symbols in Shark
  • Index(es):
    • Date
    • Thread