[Gambas-user] Using valgrind with Gambas3 project.

Tobias Boege taboege at ...626...
Mon Mar 11 22:02:58 CET 2013


On Mon, 11 Mar 2013, Ron wrote:
> I cannot run valgrind anymore together with a Gambas3 project to check
> memory alloc issues.
> 
> I use this syntax inside the project directory:
> 
> $ gbc3 -agpmt
> $ valgrind --log-file=/tmp/valgrind.log --tool=memcheck --num-callers=50 gbx3 -p
> 
> But then I end up in this:
> 
> Welcome to the Gambas debugger.
> *		?		
> >
> 
> Did I miss something?
> 

According to "gbx3 --help", this is the intended behaviour for the -p switch
you gave: "activate profiling and debugging mode" and you got dropped into
debug mode apparently.

Regards,
Tobi




More information about the User mailing list