Sign in Join

Live chat for Free Pascal, Lazarus, Delphi and every Pascal programmer.

Mailing lists / lazarus / 2010-10

How to get to Range Check Error location

2 messages · 2 people ·

Reply by email Subscribe to this list Your subscription

Read-only archive. Use j and k to move between messages.

Martin
Juha Manninen wrote 14 lines
On Sunday 03 October 2010 19:48:22 C Western wrote: >>> Please report the bug. Yes the result is integer and in 64 bits, this >>> looks like a problem. >> I think this is an issue I reported back in March, though I can now see >> I uploaded the wrong patch for it > Sorry - meant to add: http://bugs.freepascal.org/view.php?id=16132 I reported it already earlier as issue #17537: Debugger: added a typecast to prevent a range check error I added your issue as a duplicate. Our patches are different but both work (although mine is shorter :-) Anyway this is a good example of a valid Lazarus patch that is ignored, again. :-(

CCed to lazarus list, as it's lazarus now.

Juha: did Marc say, he wanted it, or did you just assign it because it's debugger? (e.g. in the later, I don't mind taking it over)

btw: I would modify the shorter patch, and introduce a type (similar like there is PtrInt)
TDbgPtrInt = 64

declared at the same location as TDbgPtr is declared => if someone changes TDbgPtr, then they should see (and change) the new type too.

Reply by email

Juha Manninen gmail
to Martin
Martin wrote
CCed to lazarus list, as it's lazarus now.

Right.

Juha: did Marc say, he wanted it, or did you just assign it because it's debugger? (e.g. in the later, I don't mind taking it over)

I didn't assign it at all!
It somehow got assigned automatically because the category is debugger. So, yes, please take it over.

Show quoted text 6 lines
btw: I would modify the shorter patch, and introduce a type (similar like there is PtrInt) TDbgPtrInt = 64 declared at the same location as TDbgPtr is declared => if someone changes TDbgPtr, then they should see (and change) the new type too.

Good.

Juha

Reply by email