Learn how easy it is to sync an existing GitHub or Google Code repo to a SourceForge project! See Demo

Close

#1 Modifying file.ptkdb with external editor

open
nobody
None
5
2003-07-04
2003-07-04
Erik Bachmann
No

If I edit a saved configuration file file.ptkdb with an
external editor the breakpoints seems to be lost.

The expressions however is OK

A diff on the pre and post file.ptkdb gives:

6c6,7
< 'text' => '%HoH = ( flintstones
=> {

---
> 'text' => '%HoH = ( flintstones
=> {
>
15c16,17
< 'text' => 'print "hello";

---
> 'text' => 'print "hello";
>

And a hex dump gives this diff:

15c15< 0000E0 6F 6E 65 73 20 3D 3E 20 7B 20 0D 0D
0A 27 2C 0D |ones => { ,,,',,|
---
> 0000E0 6F 6E 65 73 20 3D 3E 20 7B 20 0D 0A 0D
0A 27 2C |ones => { ,,,,',|

Note that the "0D 0D 0A" is changed into "0D 0A 0D 0A"
and - yes I' under Window2000.

How can I avoid this problem ?

Discussion