mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-08-29 11:10:16 +02:00
debugger: next time show more informative exception about duplicate name
git-svn-id: trunk@18100 -
This commit is contained in:
parent
d9c8834b72
commit
3df9f2143a
@ -3792,7 +3792,7 @@ begin
|
||||
if FName = AValue then exit;
|
||||
|
||||
if TBaseExceptions(GetOwner).Find(AValue) <> nil
|
||||
then raise EDBGExceptions.Create('Duplicate name');
|
||||
then raise EDBGExceptions.Create('Duplicate name: ' + AValue);
|
||||
|
||||
FName := AValue;
|
||||
Changed;
|
||||
|
Loading…
Reference in New Issue
Block a user