Re: [racket-users] DrRacket debugger

2017-02-01 Thread Robby Findler
I tried to use this program to break things:

#lang racket
(begin-for-syntax (sleep 5))
(+ 1 2)

which should behave something like what you're saying and might give
an opportunity for a race in the GUI to appear, but that didn't seem
to do it for me.

I'll keep my eyes open, tho. I may just not be clicking in quite the right way.

Robby



On Tue, Jan 31, 2017 at 5:20 PM, Dan Liebgold
 wrote:
> On Monday, January 30, 2017 at 1:43:06 PM UTC-8, Robby Findler wrote:
>
> The simple program seems to work ok.
>
> It appears my problem is related to bytecode compilation (this occurs on a 
> smallish program that pulls in a large library)... it takes awhile for the 
> buttons to respond, and it seems like I'm able to more easily get it into a 
> bad state?
>
>
>> It isn't an issue I know about.
>>
>> I don't see that with this simple program:
>>
>> #lang racket
>> (let loop () (loop))
>>
>> Do you?
>>
>> Robby
>>
>
> --
> 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+unsubscr...@googlegroups.com.
> For more options, visit https://groups.google.com/d/optout.

-- 
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+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: [racket-users] DrRacket debugger

2017-01-31 Thread Dan Liebgold
On Monday, January 30, 2017 at 1:43:06 PM UTC-8, Robby Findler wrote:

The simple program seems to work ok.

It appears my problem is related to bytecode compilation (this occurs on a 
smallish program that pulls in a large library)... it takes awhile for the 
buttons to respond, and it seems like I'm able to more easily get it into a bad 
state?


> It isn't an issue I know about.
> 
> I don't see that with this simple program:
> 
> #lang racket
> (let loop () (loop))
> 
> Do you?
> 
> Robby
> 

-- 
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+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: [racket-users] DrRacket debugger

2017-01-30 Thread Robby Findler
It isn't an issue I know about.

I don't see that with this simple program:

#lang racket
(let loop () (loop))

Do you?

Robby


On Mon, Jan 30, 2017 at 2:12 PM, Dan Liebgold
 wrote:
> I'm having trouble with the debugger in DrRacket: I'll start it and the 
> debugger buttons available at the top will stay "Go" and "Step" even as my 
> program is clearly running (even stuck in a loop).
>
> Is this a known issue?
>
> --
> 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+unsubscr...@googlegroups.com.
> For more options, visit https://groups.google.com/d/optout.

-- 
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+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[racket-users] DrRacket debugger

2017-01-30 Thread Dan Liebgold
I'm having trouble with the debugger in DrRacket: I'll start it and the 
debugger buttons available at the top will stay "Go" and "Step" even as my 
program is clearly running (even stuck in a loop).

Is this a known issue?

-- 
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+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[racket-users] DrRacket Debugger pause on error?

2016-10-03 Thread Charles Rich
Hi all, Is there a way to get the DrRacket debugger to pause when then is an 
error, so that one can inspect the values of variables?   

Since this debugger otherwise has similar capabilities to other common 
debuggers, such as in Eclipse, it seems like there ought to be a way, but I 
could not find it with documentation or experimentation.

Thanks, -CR

-- 
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+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: [racket-users] DrRacket debugger suggestions: line-level breakpoints and displaying results of latest expression evaluated

2016-05-17 Thread 'John Clements' via Racket Users

> On May 16, 2016, at 4:48 PM, Braids Constance  wrote:
> 
> On Sunday, May 15, 2016 at 10:26:41 PM UTC-4, Braids Constance wrote:
>> second, i'd like to see DrRacket display the value of the most recently 
>> evaluated expression.
> 
> after reading about expression level breakpoints in DrRacket, i now see that 
> it displays this information in the toolbar with the pause/go/step buttons.
> 
> in the future, i highly advise against using ftl technology to fix bugs 
> before they are reported.  it causes serious causality problems.  time travel 
> to the past is dangerous.  although i must say, im impressed.  wink.

+1



-- 
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+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


signature.asc
Description: PGP signature


[racket-users] DrRacket debugger suggestions: line-level breakpoints and displaying results of latest expression evaluated

2016-05-15 Thread Braids Constance
hello, i tried using the DrRacket debugger for the first time yesterday.  it 
was a bit frustrating, because i couldn't figure out how to set a line-level 
breakpoint.  leif later told me i can set a breakpoint on an expression, but 
not a line.  that's smart, surely, but not what i'm used to.

second, i'd like to see DrRacket display the value of the most recently 
evaluated expression.  i noticed it knows when an expression is done 
evaluating; but there is no way to see the value, unless i introduce a let, 
define, or such in the source.

thanks for all your hard work.  racket is nifty.

braids

-- 
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+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: [racket-users] DrRacket debugger error

2016-05-11 Thread WarGrey Gyoudmon Ju
Just mention here:
I met this error message when invoking a function with keyword arguments
within the class body (but not method body).
The simplest solution is to wrap the function application in another
function that do not passed with keyword arguments.

(define toolbar-snip% : Toolbar-Snip%
  (class snip% (super-new)
(init-field src tips)

; WARNING: If (f) is invoked with #:keyword arguments,
;Typed Racket will complains "Cannot Use
Identifier Tainted by Macro Transformation".
; WORKAROUND:  Wrapping (f) in another s-exp will solve it.
(define face.icon : Bitmap (values (bitmap src #:height
toolbar-icon-size

On Wed, May 11, 2016 at 10:32 AM, copycat  wrote:

> I get the following error:
>
> module: cannot use identifier tainted by macro transformation in: module
>
> when i try to debug a multi-file program with both untyped and typed
> scripts in it. If it's just untyped scripts it will work fine.
>
> --
> 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+unsubscr...@googlegroups.com.
> For more options, visit https://groups.google.com/d/optout.
>

-- 
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+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[racket-users] DrRacket debugger error

2016-05-10 Thread copycat
I get the following error: 

module: cannot use identifier tainted by macro transformation in: module

when i try to debug a multi-file program with both untyped and typed scripts in 
it. If it's just untyped scripts it will work fine.

-- 
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+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.