Example, my program decides it wants to show the programmer the
source for "MyClass::Foo(int,int)". I have both the mangled name and
the unmangled name available to my code, FWIW.
I had a little bit of success with this syntax (from the IDE
scripting manual):
Open Browser class "MyClass"
Open Browser member function 1 of class "MyClass"
which does bring up a class browser. But the manual indicates that
this cannot be used for plain procedures. I want to be able to do
what the editor does to go directly from a known function/method name
to that source?
Another approach I have looked at, is to use the .MAP file for the
app in question, hunt down the mangled name at which point I will know
the source module filename (but not the full path) - if I could then
do a "Find and Open File/Cmd-D" from scripting control I could get to
procedures that way, since there is a command to "Go To Function" of
an open editor window at that point.
The client software is an app for code tracing and tuning. Thus
its need to be able to hop from a raw method name to source quickly.
The user can of course drag bits of text over to a CW IDE window and
go from there, but it makes the process much clunkier. Presently this
all runs on OS9 with an intent to getting it on OS X soon.
I noticed that the scripting .PDF manual wasn't included on the
Pro7 installation... is this feature getting much usage or attention
any more?
Rob
The scripting references and such are now in the manual titled.
Extending_CodeWarrior_IDE.pdf
I'll ask around on this question and let you know if I get an answer.
Ron
--
CodeWarrior for Macintosh, v7 and CodeWarrior for Windows, v7
are shipping now !!
Call 1-800-377-5416 US and Canada Only
or write int...@metrowerks.com for international orders
Metrowerks - Ron Liechty - MW...@metrowerks.com