David Lypka(deleted)
|
Memory Errors tab not populating with any output data
|
David Lypka(deleted)
10/24/2017 10:07 AM
post118145
|
Memory Errors tab not populating with any output data
I am a QNX novice so I am trying to learn to use the various Memory diagnostic tools.
I am trying to learn to use the Memory Errors tool first.
I followed the Help ... Welcome .. 10 Steps to developing a QNX program. Quick Start Guide. So I created a new QNX C++
project (NOTE I selected C++ instead of C) which generates a default C++ program.
I connected to Neutrino running in the VMWare sample VM and it connects properly and I can display the System Info.
I created a C/C++ QNX Qconn(IP)s Launch Configuration
In the C++ main I added some code to create a memory leak.
My code to create a memory leak in the my_first_project.cc is:
char* str = new char[5];
str[0] = 65;
Then I followed the steps to activate the Memory Errors Checker.
On the Debug Perspective I selected Debug Configurations ... selected my_configuration .. selected the Tools tab and
selected the Memory Errors item.
When I run the application under Debug, the memory errors output tabs never populates with any data.
What could be the problem?
|
|
|