public inbox for gdb-prs@sourceware.org help / color / mirror / Atom feed
From: "asn at samba dot org" <sourceware-bugzilla@sourceware.org> To: gdb-prs@sourceware.org Subject: [Bug dap/31217] New: dap throws exception when trying to rerun session Date: Sat, 06 Jan 2024 16:02:56 +0000 [thread overview] Message-ID: <bug-31217-4717@http.sourceware.org/bugzilla/> (raw) https://sourceware.org/bugzilla/show_bug.cgi?id=31217 Bug ID: 31217 Summary: dap throws exception when trying to rerun session Product: gdb Version: unknown Status: UNCONFIRMED Severity: normal Priority: P2 Component: dap Assignee: unassigned at sourceware dot org Reporter: asn at samba dot org Target Milestone: --- I've configured nvim-dap for gdb [1] and when try to use require('dap').run_last() to restart the session, I run into an exception. Exception in thread DAP: Traceback (most recent call last): File "/usr/lib64/python3.12/threading.py", line 1073, in _bootstrap_inner self.run() File "/usr/lib64/python3.12/threading.py", line 1010, in run self._target(*self._args, **self._kwargs) File "/usr/share/gdb/python/gdb/dap/startup.py", line 51, in really_start_dap target() File "/usr/share/gdb/python/gdb/dap/startup.py", line 73, in ensure_dap_thread return func(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^ File "/usr/share/gdb/python/gdb/dap/server.py", line 117, in main_loop cmd = read_json(self.in_stream) ^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/share/gdb/python/gdb/dap/io.py", line 37, in read_json while len(data) < content_length: ^^^^^^^^^^^^^^^^^^^^^^^^^^ TypeError: '<' not supported between instances of 'int' and 'NoneType' Breakpoint 1 at 0x5096: file ../../source3/utils/smbget.c, line 119. content_length gets initialized with None [1] https://blog.cryptomilk.org/2024/01/02/neovim-dap-and-gdb-14-1/ -- You are receiving this mail because: You are on the CC list for the bug.
next reply other threads:[~2024-01-06 16:02 UTC|newest] Thread overview: 11+ messages / expand[flat|nested] mbox.gz Atom feed top 2024-01-06 16:02 asn at samba dot org [this message] 2024-01-08 23:23 ` [Bug dap/31217] " tromey at sourceware dot org 2024-01-09 8:07 ` asn at samba dot org 2024-01-09 8:08 ` asn at samba dot org 2024-01-09 17:02 ` tromey at sourceware dot org 2024-01-09 20:36 ` asn at samba dot org 2024-01-09 21:20 ` asn at samba dot org 2024-01-10 19:01 ` tromey at sourceware dot org 2024-01-10 20:09 ` tromey at sourceware dot org 2024-01-22 16:00 ` cvs-commit at gcc dot gnu.org 2024-01-22 16:00 ` tromey at sourceware dot org
Reply instructions: You may reply publicly to this message via plain-text email using any one of the following methods: * Save the following mbox file, import it into your mail client, and reply-to-all from there: mbox Avoid top-posting and favor interleaved quoting: https://en.wikipedia.org/wiki/Posting_style#Interleaved_style * Reply using the --to, --cc, and --in-reply-to switches of git-send-email(1): git send-email \ --in-reply-to=bug-31217-4717@http.sourceware.org/bugzilla/ \ --to=sourceware-bugzilla@sourceware.org \ --cc=gdb-prs@sourceware.org \ /path/to/YOUR_REPLY https://kernel.org/pub/software/scm/git/docs/git-send-email.html * If your mail client supports setting the In-Reply-To header via mailto: links, try the mailto: linkBe sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions for how to clone and mirror all data and code used for this inbox; as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).