code-debug icon indicating copy to clipboard operation
code-debug copied to clipboard

Avoid `Python Exception ... int too big to convert` error message ...?

Open a1994846931931 opened this issue 5 years ago • 0 comments

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] cwd and target are properly set
  • [ ] If you are using lldb
    • [ ] lldb --version >= 3.7.1
    • [ ] it works on the command line with lldb-mi
    • [ ] cwd and target are 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 error gdb message image after initialized image

a1994846931931 avatar Mar 23 '20 06:03 a1994846931931