On mardi 29 juillet 2008, Steven Lobbezoo wrote:
> Ok, but how to run the ide with valgrind
> i tried this :
> valgrind --tool=memcheck --num-callers=50 gambas2
> ==22998== Memcheck, a memory error detector.
> ==22998== Copyright (C) 2002-2007, and GNU GPL'd, by Julian Seward et
> al.
> ==22998== Using LibVEX rev 1804, a library for dynamic binary
> translation.
> ==22998== Copyright (C) 2004-2007, and GNU GPL'd, by OpenWorks LLP.
> ==22998== Using valgrind-3.3.0, a dynamic binary instrumentation
> framework.
> ==22998== Copyright (C) 2000-2007, and GNU GPL'd, by Julian Seward et
> al.
> ==22998== For more details, rerun with: -v
> ==22998==
> Erreur de segmentation
> [EMAIL PROTECTED]:/usr/bin>
>
> So that's not very helpful.
>
> Steven
>

You must do the same way as previously:

$ cd <path to the gambas2 IDE project>
$ valgrind --tool=memcheck --num-callers=50 gbx2 -p

Because "gambas2" is not an executable but a script.

Regards,

-- 
Benoit Minisini

-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
Gambas-user mailing list
Gambas-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user

Reply via email to