Le mercredi 30 juillet 2008 à 11:47 +0200, Benoit Minisini a écrit : > On mercredi 30 juillet 2008, Steven Lobbezoo wrote: > > Le mercredi 30 juillet 2008 à 11:27 +0200, Benoit Minisini a écrit : > > > On mercredi 30 juillet 2008, Steven Lobbezoo wrote: > > > > As clear as glas ;-) , but ..... > > > > I don't want to contradict you, but it does not work like that. > > > > If I do exactly as you said, it's not the ide that is launched ! > > > > It's the program directly, and that works just fine. > > > > I need to start the ide, select my project and run it in the ide. > > > > I don't get the chance to do that, since > > > > > > > > > > > > > valgrind --tool=memcheck --trace-children=yes --num-callers=50 gbx2 > > > > > -p > > > > > > > > just starts my little test program. > > > > > > > > Regards, > > > > Steven > > > > > > Because you didn't go to the IDE project directory as I told you... > > > > Ok, I'm stupid, but please help me here. > > I thought the IDE project directory was the directory where my project > > files are, like this : > > > > drwxr-xr-x 3 steven users 120 juil. 5 13:56 .. > > -rw-r--r-- 1 steven users 33 juil. 5 10:27 .directory > > -rw-r--r-- 1 steven users 1116 juil. 5 10:35 fileselector.class > > -rw-r--r-- 1 steven users 1116 juil. 5 10:29 fileselector.class~ > > -rw-r--r-- 1 steven users 1361 juil. 5 10:29 fileselector.form > > -rw-r--r-- 1 steven users 225 juil. 5 10:35 FMain.class > > -rw-r--r-- 1 steven users 73 juil. 5 10:27 FMain.class~ > > -rw-r--r-- 1 steven users 149 juil. 5 10:35 FMain.form > > -rw-r--r-- 1 steven users 94 juil. 5 10:27 FMain.form~ > > drwxr-xr-x 2 steven users 128 juil. 28 10:47 .gambas > > -rw-r--r-- 1 steven users 6785 juil. 5 10:27 .icon.png > > drwxr-xr-x 2 steven users 144 juil. 30 11:17 .lang > > -rw-r--r-- 1 steven users 139 juil. 5 10:37 Mglobal.module > > -rw-r--r-- 1 steven users 6068 juil. 5 10:35 Mglobal.module~ > > -rw-r--r-- 1 steven users 106 juil. 28 10:47 .project > > -rw-r--r-- 1 steven users 335 juil. 29 13:48 .settings > > [EMAIL PROTECTED]:~/test_gambas/test_gambas> > > > > So that's where i went. > > So, what is the IDE project directory ???????? > > Is it some sub-directory in the 2.0 trunk ? > > > > Steven > > > > Yes: 2.0/app/src/gambas2 >
But this gives me : [EMAIL PROTECTED]:~/2.0/app/src/gambas2> valgrind --tool=memcheck --trace-children=yes --num-callers=50 gbx2 -p ==12040== Memcheck, a memory error detector. ==12040== Copyright (C) 2002-2007, and GNU GPL'd, by Julian Seward et al. ==12040== Using LibVEX rev 1804, a library for dynamic binary translation. ==12040== Copyright (C) 2004-2007, and GNU GPL'd, by OpenWorks LLP. ==12040== Using valgrind-3.3.0, a dynamic binary instrumentation framework. ==12040== Copyright (C) 2000-2007, and GNU GPL'd, by Julian Seward et al. ==12040== For more details, rerun with: -v ==12040== ERROR: #2: Cannot load class 'Project': Unable to load class file ==12040== ==12040== ERROR SUMMARY: 0 errors from 0 contexts (suppressed: 53 from 2) ==12040== malloc/free: in use at exit: 157,533 bytes in 3,664 blocks. ==12040== malloc/free: 25,166 allocs, 21,502 frees, 1,812,681 bytes allocated. ==12040== For counts of detected errors, rerun with: -v ==12040== searching for pointers to 3,664 not-freed blocks. ==12040== checked 438,576 bytes. ==12040== ==12040== LEAK SUMMARY: ==12040== definitely lost: 21,225 bytes in 158 blocks. ==12040== possibly lost: 0 bytes in 0 blocks. ==12040== still reachable: 136,308 bytes in 3,506 blocks. ==12040== suppressed: 0 bytes in 0 blocks. ==12040== Rerun with --leak-check=full to see details of leaked memory. [EMAIL PROTECTED]:~/2.0/app/src/gambas2> ------------------------------------------------------------------------- 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