From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Simen =?utf-8?Q?Endsj=C3=B8?= Newsgroups: gmane.lisp.guile.user Subject: Breakpoints in coop-server not being hit? Date: Thu, 02 Jul 2020 22:46:29 +0200 Message-ID: <871rlt63x6.fsf@gmail.com> Mime-Version: 1.0 Content-Type: text/plain; format=flowed Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="2765"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: mu4e 1.4.10; emacs 27.0.91 To: guile-user@gnu.org Original-X-From: guile-user-bounces+guile-user=m.gmane-mx.org@gnu.org Thu Jul 02 22:46:49 2020 Return-path: Envelope-to: guile-user@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1jr66b-0000c0-2I for guile-user@m.gmane-mx.org; Thu, 02 Jul 2020 22:46:49 +0200 Original-Received: from localhost ([::1]:57118 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jr66a-0003HN-3V for guile-user@m.gmane-mx.org; Thu, 02 Jul 2020 16:46:48 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:53776) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1jr66Q-0003Gd-9Y for guile-user@gnu.org; Thu, 02 Jul 2020 16:46:38 -0400 Original-Received: from mail-lf1-x12c.google.com ([2a00:1450:4864:20::12c]:43488) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1jr66N-0003E6-Ac for guile-user@gnu.org; Thu, 02 Jul 2020 16:46:38 -0400 Original-Received: by mail-lf1-x12c.google.com with SMTP id g139so17023003lfd.10 for ; Thu, 02 Jul 2020 13:46:34 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=user-agent:from:to:subject:message-id:date:mime-version; bh=4eUpjf+S+IhfsNeqooiDNjydFJrsbof9iH2IT2NdDLo=; b=Z9Zjr0Uy442B0t29CIEnp6UYJxDx4ONtQwpD0bjJs4rK0n3xYLfWxWOQejDMlJUwPd 07hSh7DDSpRqgVlvjUr7WLrV+ipRuW4RMIULuE6wmR2LkvPF7e/ywmG9g85IpqAqOyxt 9X2uloTHm7ME6YLcFg1L3jEZUD/INbmAJhGhOFYNR6OuD/vhvQQwUq7GUBRVCBhlYVSN SVpHl41Cn0HVpJQjenAIQ7lPw2DMvCh0WeILzvyNqkcn8YiFBCEGACM3+ANvtz8nEPxP qU9tjCrtrU1hNnWukSnsUio7UCTtl+kKShldgP4GQwN1p8HTMeax+nJMzSnAt0naUrGj omcA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:user-agent:from:to:subject:message-id:date :mime-version; bh=4eUpjf+S+IhfsNeqooiDNjydFJrsbof9iH2IT2NdDLo=; b=gapDYvAHY+Y4cvyKPiRPp9s0IMFlQhz/zHsX/BFcy/aZQFeThHpnwTdIpAaCCqHPgL MnKMYLFBhcw6FIJFdQ+mWmSfUE3Q9JGBcF/qTMiXB36Tx3TdvMVBkHEp+q1l3rYCoIiP to/Ohti5icJN0COx3TqAKuohPSExKvjwGo75S4qLNGOtQyTPWv/9PzyDMpb7x6EHbrBK /DPRbC1rve4aqm8XenouOZP4mJwakhdOTkIRzMiZs3ckoKrUCdOgzS4lmLd9XKduf+Xv bFOiemaiAg88ybFUL/YI7t2Q8L6Bq8Affk3z1nPv9ZqNkViqgmOfZZ23Ons/7fY7KzQP zL6w== X-Gm-Message-State: AOAM531WbbOiofcK9tTAGW+APNRDaWDSZmitSPAmHYiDxZx78AC56TXk nuo2MBeWecvPrYqXztxY52gkRpqzGmM= X-Google-Smtp-Source: ABdhPJyKygj6KG368c0N1by0ptaL7PVezIg0c4UybH4ZY8nfNI21M8/1VvuPqVd8ZJMxEvFG08iV4Q== X-Received: by 2002:a19:f20a:: with SMTP id q10mr19737248lfh.89.1593722792769; Thu, 02 Jul 2020 13:46:32 -0700 (PDT) Original-Received: from simendsjo-desktop (cm-84.211.120.197.getinternet.no. [84.211.120.197]) by smtp.gmail.com with ESMTPSA id a17sm3787029lfo.73.2020.07.02.13.46.31 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 02 Jul 2020 13:46:32 -0700 (PDT) Received-SPF: pass client-ip=2a00:1450:4864:20::12c; envelope-from=simendsjo@gmail.com; helo=mail-lf1-x12c.google.com X-detected-operating-system: by eggs.gnu.org: No matching host in p0f cache. That's all we know. X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, FREEMAIL_FROM=0.001, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=_AUTOLEARN X-Spam_action: no action X-Content-Filtered-By: Mailman/MimeDel 2.1.23 X-BeenThere: guile-user@gnu.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: General Guile related discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guile-user-bounces+guile-user=m.gmane-mx.org@gnu.org Original-Sender: "guile-user" Xref: news.gmane.io gmane.lisp.guile.user:16625 Archived-At: Hi, I'm having some problems with coop-server. I'm trying to set a breakpoint, but it's never hit (use-modules (system repl coop-server)) (define repl (spawn-coop-repl-server)) ;; I can `,i cnt`, and the repl stops and when I quit, it continues (define cnt 0) ;; But when I do `,br break-here` I get ;; Trap 0: Breakpoint at #. ;; But execution never stops, and the breakpoint is never hit. (define (break-here x) (display x) (newline)) (while #t (poll-coop-repl-server repl) (break-here cnt) (set! cnt (+ 1 cnt)) (sleep 1)) Inspecting something will break the process, as will exceptions, but breakpoints I set doesn't seem to get hit. I'm totally new to Guile, so I might be way off here. I start the process on the commandline with just `guile coop-test.scm`, and then use `connect-to-guile` in emacs.