c++ - run valgrind/other memory-checks through eclipse luna in Windows-8 64bit -


i trying run c++ project in eclipse valgrind leak check. can't see output of valgrind in eclipse console, therefore can't know if have leaks or not.

i added in run configurations --> arguments following:
valgrind --leak-check=yes

do need add anything? there different reason might cause this?

thank


edit:
problem valgrind not running on windows. used work in linux environment , didn't know windows doesn't work valgrind in same way.

so rephrasing question:

i using eclipse luna on windows 8 64bit.

i have looked through other posts far nothing has been working:

1. tried visual leak detector, couldn't debug because of gdb problems (i installed using apt-get command).
tried to:
a. set location of gdb, here eclipse cdt cannot debug using gdb on mac couldn't understand it's location in windows (find . -name returned no interesting results).
b. tried set source lookup path mentioned here how gdb working eclipse cdt under windows (fails find source code) , did not work well.
c. tried reinstall cygwin , select gdb package, n/a (or @ least couldn't understand how select it).

2. tried free application check memory leaks in windows x64?

#define _crtdbg_map_alloc
#include
#include

add following right before program's exit point(s):

_crtdumpmemoryleaks();

it doesn't work well.

i try , other tools in other posts when have time, if has solution why have tried far didn't work - i'll happy know.

have tried installing plugin?

try out link: http://wiki.eclipse.org/linux_tools_project/plugininstallhelp


Comments

Popular posts from this blog

angularjs - ADAL JS Angular- WebAPI add a new role claim to the token -

php - CakePHP HttpSockets send array of paramms -

node.js - Using Node without global install -