Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
Home
Discussion Groups
General
GeneralPortable MacsHardwareNetworking
Applications
Mac ApplicationsEudoraFirefox / MozillaInternet ExplorerOutlook ExpressMS OfficeEntourageExcelPowerPointWordVirtual PCMedia PlayerOther MS Products
Programming
Mac ProgrammingCodeWarriorPerl
Country Specific
Australian Mac GroupUK Mac Group

Mac Forum / Programming / CodeWarrior / August 2003



Tip: Looking for answers? Try searching our database.

help stepping in to dynamic library

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Kevin Hoyt - 25 Aug 2003 23:48 GMT
I've finally built a dynamic library... actually a framework...Yippeee
:-)
Now if it just worked correctly :-(

So how do I get the debugger to show me the source code inside the
library?  I see the source in the test application that is linked
against the framework.  However, when I step into a function that is
in the library, I just see assembler.

Any help appreciated... as always...
MW Ron - 28 Aug 2003 14:21 GMT
>I've finally built a dynamic library... actually a framework...Yippeee
>:-)
[quoted text clipped - 6 lines]
>
>Any help appreciated... as always...

Open the dylib project.  Set breakpoints.  Open the Runtime Settings
panel, and set the host application field to point to the application
using the dylib.  Hit debug (on the dylib project).

Ron

Signature

        CodeWarrior Development Studio for Macintosh v9
Enhance Your Productivity and Shorten your Development Cycles
                <http://store.metrowerks.com/>
       Sales and Support 512-996-5300   800-377-5416    
Ron Liechty - MWRon@metrowerks.com - http://www.metrowerks.com

Kevin Hoyt - 28 Aug 2003 18:55 GMT
> >I've finally built a dynamic library... actually a framework...Yippeee
> >:-)
[quoted text clipped - 12 lines]
>
> Ron

Thanks Ron,
Is this supposed to work when the target application is a command line
tool?  I am not able to browse and select the application.  I typed in
the full path to it instead.  When I start debugging, I get this
message:

"Couldn't find the application to launch to start the debug session.
Choose the application to launch in the "Runtime Settings" pref panel.
If this is a Java project, the main class name setting may be
incorrect or main() is missing."

This is not a Java application and does have a main.

Could this have something to do with the Createor (????) and Type
(MEXE) of the target application?
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.