在Lazarus IDE中调试泛型

时间:2018-05-24 19:50:34

标签: lazarus

我有这个:

TDictionaryStrInt = specialize TFPGMap<string, integer>;

有人可以告诉我如何调试Map,Key / Value对吗?

我只看到对内存地址的引用,但我真的需要查看这些项目。

观察,局部变量对我没有帮助。

我只能看到这个:

<TDictionaryStrStr> = {
  <TFPSMAP> = {
     <TFPSLIST> = {
       <TOBJECT> = {
         _vptr$ = {
           0x5612ec, 
           0x230b988}}, 
      FLIST = , 
      FCOUNT = 1, 
      FCAPACITY = 4, 
      FITEMSIZE = 8}, 
     FKEYSIZE = 4, 
     FDATASIZE = 4, 
    FDUPLICATES = DUPIGNORE, 
    FSORTED = false, 
    FONKEYPTRCOMPARE = $426b70 <TFPGMAP$2$CRC36DB32B4__KEYCOMPARE>, 
    FONDATAPTRCOMPARE = $523e30 
 <FGL$_$TFPSMAP_$__$$_BINARYCOMPAREDATA$POINTER$POINTER$$LONGINT>}, 
  FONKEYCOMPARE = $0, 
  FONDATACOMPARE = $0}

0 个答案:

没有答案