From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id 920C13858407; Tue, 9 Jan 2024 21:20:03 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 920C13858407 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=sourceware.org; s=default; t=1704835203; bh=u9mXJvj5OkFzPEDVZq1piJGr6HBdDTHqD0rsc0rptec=; h=From:To:Subject:Date:In-Reply-To:References:From; b=eynW6oqdjoUapAPOC0wsveBdYVTrl+qMJDLlJStMr31xpSJpEt5NaTnXyJo00Ln+W wNs4Co5n1GkNOi0ZbbasOrtvmC4elO6DRXJiBsZv348NDrbvNibO7sQJ6KKETEnKQQ VME3ghK4lPUkVWJE2Ha8tN+0drMcfJf8yP0Ktxek= From: "asn at samba dot org" To: gdb-prs@sourceware.org Subject: [Bug dap/31217] dap throws exception when trying to rerun session Date: Tue, 09 Jan 2024 21:20:03 +0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gdb X-Bugzilla-Component: dap X-Bugzilla-Version: unknown X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: asn at samba dot org X-Bugzilla-Status: NEW X-Bugzilla-Resolution: X-Bugzilla-Priority: P2 X-Bugzilla-Assigned-To: tromey at sourceware dot org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: attachments.created Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://sourceware.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 List-Id: https://sourceware.org/bugzilla/show_bug.cgi?id=3D31217 --- Comment #6 from Andreas Schneider --- Created attachment 15292 --> https://sourceware.org/bugzilla/attachment.cgi?id=3D15292&action=3Ded= it dap.tar.gz reproducer Unpack the dap.tar.gz There is a a.out in .repro/ for x86_64, but you can compile the test.c if y= ou want with: gcc -ggdb test.c Open the file: nvim -u repro.lua .repro/test.c * Once in neovim * Go to line 6 * Press F2 (sets breakpoint, you will get a 'B' before the line) * Press F3 (opens dap UI) * Press F5 * Select 2 * Path to executable: Point to .repro/a.out * Argruments: wurst brot Now you see the a '->' instead of a 'B' in line 6. The debugger started and stopped at the line. lAso the UI should show the scope and the stack etc. Now press F10 to restart the session. The repl window will show the python backtrace. Logs are going to /tmp/gdb-dap.log. F12 terminates the debugging session. --=20 You are receiving this mail because: You are on the CC list for the bug.=