[Gambas-user] Problems with OpenSuSE 11 and gcc 4.3

Benoit Minisini gambas at ...1...
Tue Jul 29 14:01:24 CEST 2008


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
> steven at ...1948...:/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




More information about the User mailing list