Visual Profiler and fopen error

I’m trying to use the visual profiler.
The problem is that my code runs just fine in a terminal but in the profiler it does not.
In my code I open a file to read with “fopen” which gives an error (No such file or directory) in the profiler. The file the I’m opening is there and I tried running the profiler as root.

I can’t understand, hopefully you can.

I’m using the toolkit 3.2 on ubuntu x64.

Nevermind, I found out the problem.
I was calling the executable in the terminal as:

$ /path-to-file/executable ‘/path-to-file/file name.ext’

because of the space char between file and name.

However, the profiler doesn’t like the apostrophes, therefore the argument has to be: