Closed
Bug 96780
Opened 23 years ago
Closed 23 years ago
NSPR changes to make debugging better on Mac OS X
Categories
(NSPR :: NSPR, defect)
Tracking
(Not tracked)
RESOLVED
FIXED
People
(Reporter: sfraser_bugs, Assigned: sfraser_bugs)
References
Details
Attachments
(2 files)
(deleted),
patch
|
Details | Diff | Splinter Review | |
(deleted),
patch
|
Details | Diff | Splinter Review |
Debugging using Pro 7 on Mac OS X works better if you send in the file
name, rather than the disk name, as the 4th param to GetDiskFragment
calls. With this change, I'm able to debug component libraries on X
without having to rename all the files. Patch coming.
I think we can make this change in Mac Classic too; this string shows up
in the debugger, but is otherwise insignificant to CFM.
Assignee | ||
Comment 1•23 years ago
|
||
Comment 2•23 years ago
|
||
Comment 3•23 years ago
|
||
I did something similar. I changed the function where the fragment name is
fetched so there's one less call site to change and if something else is getting
the fragment name for some reason, it will get the same answer.
Actually, this should not be #ifdef'd for TARGET_CARBON but always done, even
for Classic. The benefit is that, when a sym file is not loaded and you see the
fragment name on the call stack, you know which file to open. Right now, we see
something like WEB_DLL and that means nsWebBrowser.shlb. Who would know?
Assignee | ||
Comment 4•23 years ago
|
||
Your change worries me more, conrad. It won't work via calls to
pr_Mac_LoadNamedFragment(), and returning the file name, rather than the fragment
name, will mess up NSPR's library cache in pr_Mac_LoadIndexedFragment(),
especially if start to use multi-fragment CFM containers.
I did think of one side-effect of making this change; it would probably affect
Talkback. I think we'd have to change the names of the .xSYM files that we supply
for talkback, for XPCOM component libraries.
Comment 5•23 years ago
|
||
Just pointing out if the change is #ifdef TARGET_CARBON we don't need to worry
about Talkback
Assignee | ||
Comment 6•23 years ago
|
||
This went in with the Pro 7 landing.
Status: NEW → RESOLVED
Closed: 23 years ago
Resolution: --- → FIXED
You need to log in
before you can comment on or make changes to this bug.
Description
•