[Lazarus] whach list and hint in source is wrong display value

FreeMan freeman35 at delphiturkiye.com
Thu Feb 19 14:51:27 CET 2015


I found problem. not string show problem. My string variable get value 
from My defined function,  I didn't notice that, this my mistake, sorry 
for this.
Problem is:
..
Result := fpReadLink(AFilename);
..
/freepascal/3.1.1/rtl/unix/bunxovlh.inc
Function fpReadLink(const Name: RawByteString): RawByteString;

result is string. I tested it like this too "StrVariable := 
fpReadLink(AFilename); "
added to result "^char($000000010E3C1358)" this strings, number change.

type
   RawByteString=  type  AnsiString(CP_NONE);

How to do? I'm confused little bit.


On 19.02.2015 15:20, Martin Frb wrote:
> Please report a bug on mantis.
>
> Please include:
> - the expected string
> - a sample project (lpi, pas and other files) which has all the 
> settings (compiler options) done.
> - a logfile 
> http://wiki.lazarus.freepascal.org/GDB_Debugger_Tips#Log_info_for_debug_session
>
> On 19/02/2015 08:10, FreeMan wrote:
>> osx fpc & lazarus svn QT x64
>> my project's Compiler options has
>> -FcUTF8
>> -dEnableUTF8
>>
>> *-) I added string variable to watch list. Value show like this, I 
>> copied from there,
>> ^char($000000010E3C1358) 
>> '/opt/proje_laz/projeler/apps/project_darwin.app'

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.lazarus-ide.org/pipermail/lazarus/attachments/20150219/304a8313/attachment-0003.html>


More information about the Lazarus mailing list