Page 2 of 2 FirstFirst 12
Results 11 to 18 of 18

Thread: thinDebug: UDT data inspection

  1. #11
    thinBasic author ErosOlmi's Avatar
    Join Date
    Sep 2004
    Location
    Milan - Italy
    Age
    57
    Posts
    8,817
    Rep Power
    10

    Re: thinDebug: UDT data inspection

    And here it is.

    Integer class numbers are identified by the first letter in blue color: Byte, Integer, Word, DWord, Long, Quad
    Floating point class numbers are identified by the first letter in orange color: Single, Double, Currency, Extended

    I'm still try to find nice bitmaps for Strings class: fixed string, fixed ascii, dynamic

    Ciao
    Eros
    Attached Images Attached Images
    www.thinbasic.com | www.thinbasic.com/community/ | help.thinbasic.com
    Windows 10 Pro for Workstations 64bit - 32 GB - Intel(R) Xeon(R) W-10855M CPU @ 2.80GHz - NVIDIA Quadro RTX 3000

  2. #12
    Super Moderator Petr Schreiber's Avatar
    Join Date
    Aug 2005
    Location
    Brno - Czech Republic
    Posts
    7,153
    Rep Power
    736

    Re: thinDebug: UDT data inspection

    Hi Eros,

    that looks good.

    Here is my concept for strings:
    Magenta color - because strings in quotes are marked with magenta by default in ThinAir.
    Those two with orange borders mean fixed size - stripes visually represent restriction.
    Attached Images Attached Images
    Learn 3D graphics with ThinBASIC, learn TBGL!
    Windows 10 64bit - Intel Core i5-3350P @ 3.1GHz - 16 GB RAM - NVIDIA GeForce GTX 1050 Ti 4GB

  3. #13
    thinBasic author ErosOlmi's Avatar
    Join Date
    Sep 2004
    Location
    Milan - Italy
    Age
    57
    Posts
    8,817
    Rep Power
    10

    Re: thinDebug: UDT data inspection

    Situation:
    • Added icons for strings (more or less I've followed Petr suggestion.
    • Added capability to understand arrays of UDT, arrays of elements, arrays of sub UDT. I've done that using sub trees. As far as I can see this is the only way so far.
    • Started to add capability to behave both on UDT and UNIONs.
    • Added data inspection for the moment only for numeric elements. Other kind of data should come easily.


    So, seems starting to be quite usable even to be used for complex structures.
    Very soon a release.
    Attached Images Attached Images
    www.thinbasic.com | www.thinbasic.com/community/ | help.thinbasic.com
    Windows 10 Pro for Workstations 64bit - 32 GB - Intel(R) Xeon(R) W-10855M CPU @ 2.80GHz - NVIDIA Quadro RTX 3000

  4. #14

    Re: thinDebug: UDT data inspection

    Eros:

    This looks really great!

    Don
    XPS 1710

  5. #15
    Super Moderator Petr Schreiber's Avatar
    Join Date
    Aug 2005
    Location
    Brno - Czech Republic
    Posts
    7,153
    Rep Power
    736

    Re: thinDebug: UDT data inspection

    Eros,

    this is looking fantastic!

    One suggestion on displaying array members, maybe instead of:
    <arrayName>: element <index>/<ubound> = value
    I would prefer classic:
    <arrayName>(<index>) = value
    Number of array elements is displayed in the root of array anyway, so I think more ThinBASICish listing would be perfectly enough.

    Regarding numeric datatypes, there is one odd thing - SINGLE has too many decimals.
    When I use:
    uses "Console"
    dim v as single
    
    v = 1/3
    
    printl v
    waitkey
    
    ... I can see correctly 6 digits.

    Thank you,
    Petr
    Learn 3D graphics with ThinBASIC, learn TBGL!
    Windows 10 64bit - Intel Core i5-3350P @ 3.1GHz - 16 GB RAM - NVIDIA GeForce GTX 1050 Ti 4GB

  6. #16
    thinBasic MVPs kryton9's Avatar
    Join Date
    Nov 2006
    Location
    Naples, Florida & Duluth, Georgia
    Age
    68
    Posts
    3,865
    Rep Power
    405

    Re: thinDebug: UDT data inspection

    It's looking really nice Eros.

    Would it be easy to make an option to toggle icons and off?
    Acer Notebook: Win 10 Home 64 Bit, Core i7-4702MQ @ 2.2Ghz, 12 GB RAM, nVidia GTX 760M and Intel HD 4600
    Raspberry Pi 3: Raspbian OS use for Home Samba Server and Test HTTP Server

  7. #17
    thinBasic MVPs Michael Hartlef's Avatar
    Join Date
    Sep 2006
    Location
    Germany
    Age
    58
    Posts
    3,299
    Rep Power
    348

    Re: thinDebug: UDT data inspection

    Great job Eros. I would like to have the icons optional too.

  8. #18
    thinBasic author ErosOlmi's Avatar
    Join Date
    Sep 2004
    Location
    Milan - Italy
    Age
    57
    Posts
    8,817
    Rep Power
    10

    Re: thinDebug: UDT data inspection

    Do you mean just TreeView without any icon?

    www.thinbasic.com | www.thinbasic.com/community/ | help.thinbasic.com
    Windows 10 Pro for Workstations 64bit - 32 GB - Intel(R) Xeon(R) W-10855M CPU @ 2.80GHz - NVIDIA Quadro RTX 3000

Page 2 of 2 FirstFirst 12

Members who have read this thread: 0

There are no members to list at the moment.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •