Community
Participate
Working Groups
The methods SyncRegisterDataAccess.writeVariable() and its equivalents ignore error messages returned by the service. This is not good because there could be valuable information in the error that should be presented to the user. Instead these methods should open a message dialog telling the user what went wrong.
When tried to enter the following in Register view: -value “77777777777777777777777777” and <CR>. -value “kkkkkk” and <CR>. -value “ ” and <CR>. gdb/MI log shows error, like that: 796,890 (gdb) 796,890 80-var-assign var2 "777777777777777777777777777777777777" 796,906 80^error,msg="Numeric constant too large." 796,906 (gdb) 815,295 81-var-assign var2 "kkkkkkkkkkkkkkkkkkkkkkkkkkkkk" 815,311 81^error,msg="No symbol \"kkkkkkkkkkkkkkkkkkkkkkkkkkkkk\" in current context." 815,311 (gdb) 823,922 82-var-assign var2 " " 823,938 82^error,msg="A syntax error in expression, near `'." 823,938 (gdb) Your point is to present error message to user in some sort of pop-up, right?