🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: comp.sys.next.programmer
3 messages
3 total messages Started by Ed Lau Fri, 24 Jul 1992 17:37
problem with Malloc Debug
#220
Author: Ed Lau
Date: Fri, 24 Jul 1992 17:37
12 lines
855 bytes
Does anyone have insights as to why Malloc Debug won't recognize my  
application? Selecting Open... in the menu pops up a panel informing me that I  
do not own any "application configured for use with the Malloc Debugger." Yet I  
have linked my application with the proper library by adding  
/usr/lib/libMallocDebug.a to "Other libs" in IB as instructed in the Help  
Panel.

Any help is appreciated. Thank you.

Ed Lau
edlau@chaos.mitl.com
Re: problem with Malloc Debug
#250
Author: Brian Cuthie
Date: Mon, 27 Jul 1992 02:31
27 lines
1361 bytes
In article <1992Jul24.173754.17638@MITL.COM> edlau@mitl.com (Ed Lau) writes:
>
>Does anyone have insights as to why Malloc Debug won't recognize my  
>application? Selecting Open... in the menu pops up a panel informing me that I  
>do not own any "application configured for use with the Malloc Debugger." Yet I  
>have linked my application with the proper library by adding  
>/usr/lib/libMallocDebug.a to "Other libs" in IB as instructed in the Help  
>Panel.
>
>Any help is appreciated. Thank you.
>
>Ed Lau
>edlau@chaos.mitl.com


MallocDebug attempts to locate running apps with the MallocDebug library
linked in.  If your app isn't already running, MallocDebug won't launch it.

Also, be sure that you haven't mucked with the Makefile.preamble in such
a way as to overide the LIB symbol.

-Brian

-- 
Brian Cuthie
Systemix Software, Inc.
brian@systemix.com
Re: problem with Malloc Debug
#263
Author: Douglas Scott
Date: Mon, 27 Jul 1992 21:06
22 lines
1651 bytes
In article <1992Jul24.173754.17638@MITL.COM> edlau@mitl.com (Ed Lau) writes:
|
|Does anyone have insights as to why Malloc Debug won't recognize my  
|application? Selecting Open... in the menu pops up a panel informing me that I  
|do not own any "application configured for use with the Malloc Debugger." Yet I  
|have linked my application with the proper library by adding  
|/usr/lib/libMallocDebug.a to "Other libs" in IB as instructed in the Help  
|Panel.

With programs run from a shell, the program must be run using its full path
name in order for MallocDebug to find it.  Try running the App from a Terminal
window with its full path, i.e., "/Users/johnDoe/Apps/My.app".  If this is not
it, check to be sure the -lMallocDebug is the first library in the link
arguments for the link stage of the make--in other words, look at the make
output to be sure it *is* using that library.


-- 
Douglas Scott                              (805)893-8352
Center for Computer Music Research and Composition
University of California, Santa Barbara
Internet: (NeXTMail ok)   <doug@foxtrot.ccmrc.ucsb.edu>
Thread Navigation

This is a paginated view of messages in the thread with full content displayed inline.

Messages are displayed in chronological order, with the original post highlighted in green.

Use pagination controls to navigate through all messages in large threads.

Back to All Threads