View Issue Details

IDProjectCategoryView StatusLast Update
0027236LazarusDebuggerpublic2015-01-21 04:18
ReporterMilošAssigned ToMartin Friebe 
PrioritynormalSeverityminorReproducibilityN/A
Status resolvedResolutionfixed 
Product Version1.2.0Product Build 
Target Version1.5 (SVN)Fixed in Version1.5 (SVN) 
Summary0027236: Add to Watch window Ctrl+Alt+W hexadecimal index for arrays
DescriptionI am working on emulator of 8-bit computer. I need to watch variables with hexadecimal index.

I need for example:
MemoryRAM[$10f0]

Please add this index tzpe for watch window.
TagsNo tags attached.
Fixed in Revision47478
LazTarget1.6
Widgetset
Attached Files

Activities

Martin Friebe

2015-01-03 19:36

manager   ~0080090

Just a note: Until this is implemented, you should be able to do
  MemoryRAM[0x10f0]
That is, if MemoryRAM is a variable accessible to the debugger.

If you want to access memory directly (without a variable, then you can do
  ^byte(0x10f0)^
However, the memory must be readable to your process. If it is not, then it can not be watched (and that will not change, unless you can provide info how to do so in gdb directly)


You can either select "Memory dump" (in the watches properties), or set "repeat count" and choose "hexadecimal" as format, in order to format the result, and see more than one value/byte.

Martin Friebe

2015-01-21 04:18

manager   ~0080534

Please test and close if ok.

This also fixes some wrong results, as gdb takes 021 as octal (17) which from a pascal point is incorrect.

Issue History

Date Modified Username Field Change
2015-01-03 12:43 Miloš New Issue
2015-01-03 12:43 Miloš Status new => assigned
2015-01-03 12:43 Miloš Assigned To => Martin Friebe
2015-01-03 19:36 Martin Friebe Note Added: 0080090
2015-01-21 04:18 Martin Friebe Fixed in Revision => 47478
2015-01-21 04:18 Martin Friebe LazTarget => 1.6
2015-01-21 04:18 Martin Friebe Note Added: 0080534
2015-01-21 04:18 Martin Friebe Status assigned => resolved
2015-01-21 04:18 Martin Friebe Fixed in Version => 1.5 (SVN)
2015-01-21 04:18 Martin Friebe Resolution open => fixed
2015-01-21 04:18 Martin Friebe Target Version => 1.5 (SVN)