User forums > Help
Exectution Directory and Debbuger Working Directory
oBFusCATed:
But your program fails in the second case, right?
It starts correctly and you execute some code which fails, because you don't expect to get the 'wrong' directory delimiters, right?
If I were you'd have found the code and I would have fixed it, already.
BTW: Have you tried a debugger's branch nightly build?
le Pape:
The nightly build solved it !
Yup, my program failed in the second case because of the inconsistency in path separator.
I had solved the problem with a workaround already, indeed (thanks to p2rkw :) ).
But it was a workaround (dirty workaround is dirty).
I was looking for a better way, and the debugger's branch nightly build did the trick :)
Thanks for your help !
†
PS : Still, if someone else has similar problem, it might be good to notice that there is still an inconsistency in behaviour between Run and Debug : running gives backward slashed only path while debugging gives forward slashed only path. Maybe that could cause trouble in another case as forward slash path at least were not standard for a long time on windows and might be unexpected in some libs.
Navigation
[0] Message Index
[*] Previous page
Go to full version