Welcome to MacForumz.com!
FAQFAQ      ProfileProfile    Private MessagesPrivate Messages   Log inLog in

Unable to debug CFM code resource

 
   Macintosh computer (Home) -> Programmer Code RSS
Next:  xterm behavior on ps/exceed  
Author Message
Books

External


Since: Sep 03, 2003
Posts: 6



(Msg. 1) Posted: Wed Jul 14, 2004 3:54 am
Post subject: Unable to debug CFM code resource
Archived from groups: comp>sys>mac>programmer>codewarrior (more info?)

Hi,

I'm using CW9.1 on the Mac OS 10.3.3 to develop VST audio plugin that
run under host applications such as Cubase or Nuendo.
The plugin is compiled as CFM code resource.
gdb is installed (version 5.3-20030128 (Apple version gdb-309)) and
seem to be working.

Lately I have been unable to debug.

I set one of the host applications as "Host Applications for LIbraries
& Code resources" in the "Runtime settings" panel.

When I launch the debugger I get one of two behaviors;
1) The debugger repeatedly stops on assembly code inside the host
applications, making it impossible to continue.
2) The debugger ignores all break points.

Thanks for any help,

Shai

 >> Stay informed about: Unable to debug CFM code resource 
Back to top
Login to vote
MW Ron

External


Since: Aug 04, 2003
Posts: 983



(Msg. 2) Posted: Wed Jul 14, 2004 12:20 pm
Post subject: Re: Unable to debug CFM code resource [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

In article ,
shai.DeleteThis@waves.com (Books) wrote:

 >Hi,
 >
 >I'm using CW9.1 on the Mac OS 10.3.3 to develop VST audio plugin that
 >run under host applications such as Cubase or Nuendo.
 >The plugin is compiled as CFM code resource.
 >gdb is installed (version 5.3-20030128 (Apple version gdb-309)) and
 >seem to be working.
 >
 >Lately I have been unable to debug.
 >
 >I set one of the host applications as "Host Applications for LIbraries
 >& Code resources" in the "Runtime settings" panel.
 >
 >When I launch the debugger I get one of two behaviors;
 >1) The debugger repeatedly stops on assembly code inside the host
 >applications, making it impossible to continue.

Hmm make sure the stop on C++ exceptions is off. Also where do you have
the stop for the debugger set. Is it on Application Launch or what.

 >2) The debugger ignores all break points.

Be sure you have updated to CW 9.2 I think, that this was addressed in
the 9.2 update.

However, I noticed some plugin writers saying that they had to insert
breakpoints after stopping in the debugger they couldn't set them in the
IDE sources or have them pre-set. I don't know if this applies to
other plugins.

let me know after you update to 9.2 if that does not solve the problem.

Ron

--
Metrowerks Community Forum is a free online resource for developers
to discuss CodeWarrior topics with other users and Metrowerks' staff
-- <a rel="nofollow" style='text-decoration: none;' href="http://www.metrowerks.com/community" target="_blank">http://www.metrowerks.com/community</a> --

Ron Liechty - MWRon.DeleteThis@metrowerks.com - <a rel="nofollow" style='text-decoration: none;' href="http://www.metrowerks.com" target="_blank">http://www.metrowerks.com</a>

 >> Stay informed about: Unable to debug CFM code resource 
Back to top
Login to vote
Arne Scheffler

External


Since: Jul 05, 2003
Posts: 14



(Msg. 3) Posted: Thu Jul 15, 2004 7:53 pm
Post subject: Re: Unable to debug CFM code resource [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

On 2004-07-14 11:54:44 +0200, shai DeleteThis @waves.com (Books) said:

 > Hi,
 >
 > I'm using CW9.1 on the Mac OS 10.3.3 to develop VST audio plugin that
 > run under host applications such as Cubase or Nuendo.
 > The plugin is compiled as CFM code resource.

Why do you use CFM for VST ?
There are many reasons to switch to Mach-O. You may want to read
<a rel="nofollow" style='text-decoration: none;' href="http://www.u-he.com/vstsource/specials.php?id=1" target="_blank">http://www.u-he.com/vstsource/specials.php?id=1</a>

 > gdb is installed (version 5.3-20030128 (Apple version gdb-309)) and
 > seem to be working.
 > Lately I have been unable to debug.
 >
 > I set one of the host applications as "Host Applications for LIbraries
 > & Code resources" in the "Runtime settings" panel.
 >
 > When I launch the debugger I get one of two behaviors;
 > 1) The debugger repeatedly stops on assembly code inside the host
 > applications, making it impossible to continue.
 > 2) The debugger ignores all break points.

I know that I have more than one report that it could be a pain to get
this working.
But as Ron said, try CW9.2 it may help.

arne
 >> Stay informed about: Unable to debug CFM code resource 
Back to top
Login to vote
Display posts from previous:   
Related Topics:
Unable to debug because of invalid SYM file. - We are using MW Pro 8.3 to develope our OS X application and recently we run into a problem. When we try to launch the application within the debugger, we get error message "Warning - this SYM file has some invalid or inconsistent data. The debugger...

How do I use nib file with code resource? - I'm sure I'm just missing something basic here. I haven't done much with Carbon, nib files, or code resources, so this is probably a newbie question. My apologies. I am making a code resource in CW8. I am using a nib file for a dialog box. When I..

Which Template for a code resource? - I'd like to create an OS9 code resource. What Codewarrior template should I use for this? Does anyone have any tips about building a project like this? Someone else has written the code, I just have to compile it on OS9. I'm using IDE version..

How do I debug an API? - Hi all, I have an API I'd like to debug. What I have is two projects, one that builds the API, the other that is a sample application that uses the API. It's my understanding that in the API project, I point the "Host application for Libraries &am...

Seeing "this" in debug window - Just started with elementary CW project. I see local variables, but don't see "this" in Variables window of debugger, when inside instance method. Am I just overlooking something obvious? Poked around menus, documentation.
   Macintosh computer (Home) -> Programmer Code All times are: Pacific Time (US & Canada)
Page 1 of 1

 
You can post new topics in this forum
You can reply to topics in this forum
You can edit your posts in this forum
You can delete your posts in this forum
You can vote in polls in this forum



[ Contact us | Terms of Service/Privacy Policy ]