Project Home
Project Home
Trackers
Trackers
Documents
Documents
Wiki
Wiki
Discussion Forums
Discussions
Project Information
Project Info
Forum Topic - Memory Analysis: (5 Items)
   
Memory Analysis  
I am trying to use the malloc_g library to trace memory errors. Things seem to be working, but I don't get file/line 
information on the errors. Is it possible to get this information using command line tools, or must I use the IDE?
Thanks, Any help is appreciated!

Thomas
RE: Memory Analysis  
It is better to use IDE which would perform address translation for you.
Alternately you can use separate utility addr2line that shows file:line info
for given binary+address.
Re: RE: Memory Analysis  
Thanks you!
 I would like to use the IDE for memory analysis, profiling etc. However, do to some constraints I must build my 
programs outside the IDE. 
Is it possible to still use the IDE tools for analysis, if I don't use the IDE for building?


RE: RE: Memory Analysis  
Yes you can do it. You can build and even launch programs outside of IDE and
only import result data into analysis tools. However if you need source
navigation you need to import you sources and binaries inside IDE and add
mapping between compiled source paths and IDE source paths so it can find
and location code properly. Please check the user guide for details.


Re: RE: RE: Memory Analysis  
Thank you!