strange error message with debugging enabled

25 views
Skip to first unread message

Jos Koot

unread,
Sep 25, 2020, 10:57:50 AM9/25/20
to Racket Users
file b.rkt
#lang racket
(require "a.rkt")
(err 5)

file a.rkt
#lang racket
(require "a.rkt")
(err 5)

Run file b.rkt from DrRacket.
Normal error message when debugging on file b.rkt is not enabled.
With debugging enabled:
-- #(struct:exn:fail:contract "vector-ref: contract violation\n  expected: vector?\n  given: ((error 'err \"blah blah ~s\" x) #<path:E:\\circuits\\delayed\\a.rkt> 3 16 44 29)\n  argument position: 1st\n  other arguments...:\n   0" #<continuation-mark-set>)
exception raised by error display handler: vector-ref: contract violation
  expected: vector?
  given: ((error 'err "blah blah ~s" x) #<path:E:\circuits\delayed\a.rkt> 3 16 44 29)
  argument position: 1st
  other arguments...:
   0; original exception raised: err: blah blah 5

Maybe this has already been posted as a racket issue.
Therefore I post this here.
If not yet an issue, I'll post a racket issue.
Thanks, Jos

Robby Findler

unread,
Sep 25, 2020, 1:03:43 PM9/25/20
to Jos Koot, Racket Users
Thanks, Jos. I think that this has been fixed (recently, since 7.8 was released). You might try a snapshot build and see if things are better for you there:


--
You received this message because you are subscribed to the Google Groups "Racket Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to racket-users...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/racket-users/CAL6KNi0-QB%2BZYkq3U%2B-z%3D_Fip9CpP7rZaq%2B2kiT1L5EfNbpgyg%40mail.gmail.com.

Jacob Jozef

unread,
Sep 26, 2020, 5:45:37 AM9/26/20
to Robby Findler, Racket Users

Thanks Robby.

Yes, it has been fixed. No problems in v7.8.0.10.

Jos

Reply all
Reply to author
Forward
0 new messages