Menu

#26 ptkdb - >>> exception catched 'Can't find Unicode property definition

Devel-ptkdb-1.1x
open
nobody
None
5
2018-07-27
2018-07-27
No

Using Devel-ptkdb-1.234 on windows breaks with a filename (perl program to debug) when it contains backslashes with the error like ptkdb - >>> exception catched 'Can't find Unicode property definition "e" in regex; marked by <-- HERE in m/\[c:\data\pe <-- HERE rl\add_ps4_output.pl\:17\]/ at C:/Tools64/Perl64/lib/Devel/ptkdb.pm line 3319.
I guess it is good to translate the file names on windows to use forward slashes. I changed the line at 3309 to resolve this: 'filename' => ( $filename =~ s+\\+/+g ), but I gess there might be a better location to handle this.

Discussion


Log in to post a comment.