Placing a breakpoint has a side effect - changes the working directory (tested for GO32V2)
Original Reporter info from Mantis: laaca@seznam.cz
-
Reporter name: Ladislav Lacina
Original Reporter info from Mantis: laaca@seznam.cz
- Reporter name: Ladislav Lacina
Description:
If run my program from IDE and no breakpoint is set then everything is OK and the actual directory does not change.
But if I place a breakpoint the actual directory changes to C:<br/>
It seems that the debugger activation has a side effect - changes the actual directory to C:<br/>
---------------------------------------------------------------------------------------
var s:String;
begin
getdir(0,s);
writeln(s);
s:=s; {TRY WITHOUT AND WITH BREAKPOINT HERE !}
end.
Mantis conversion info:
- Mantis ID: 38470
- Version: 3.2.0
- Monitored by: » laaca@seznam.cz (Ladislav Lacina)