code-debug
code-debug copied to clipboard
Avoid `Python Exception ... int too big to convert` error message ...?
If submitting a bug please make sure
- [x] If you are using gdb
- [x]
gdb --version>= 7.7.1 - [ ] it works on the command line with
gdb - [x]
cwdandtargetare properly set
- [x]
- [ ] If you are using lldb
- [ ]
lldb --version>= 3.7.1 - [ ] it works on the command line with
lldb-mi - [ ]
cwdandtargetare properly set
- [ ]
Proposal
Evaluating a vector before it's initialized could cause annoying Python Exception ... int too big to convert error messages in DEBUG CONSOLE. The error messages are originated from gdb, which seems that it is gdb that is to blame. Nevertheless, however, I was thinking whether there is a way to handle the message in a more elegant way so that we can avoid them showing in the DEBUG CONSOLE? It could hugely improve the user experience. Thanks!
demo snapshot
gdb message
after initialized
gdb message
after initialized
