Discuss Scratch

capybara
Scratcher
51 posts

Scratch debugger

Hey there! Capybara here. If you use another programming language besides scratch, you probably know what a debugger is. It's basically a program that goes through your code step by step so that you can tell exactly what's going on. As the name suggests, this helps amazingly with finding bugs and PZBing* them far far away!

However, as I can't help but notice, scratch DOES NOT HAVE A DEBUGGER, and I have about SIX EPIC GAMES at a standstill because of EVIL SNEAKY HIDING BUGS. *hyperventilates*

No offense to MIT. I know debuggers are kinda hardcore and synchronizing a debugger with scratch's time system
m i g h t not work out. But I still really want one.


*PZB stands for PootleaZorkaBoodle, which means to eradicate or banish, preferably in a really funny way.

Last edited by capybara (March 29, 2016 18:18:48)

IronBit_Studios
Scratcher
1000+ posts

Scratch debugger

I think there used to be one, but idk
No support; while this is great, the ST will take forever to do this.
While you're at it, this place is great for issues like this.
capybara
Scratcher
51 posts

Scratch debugger

when green flag clicked
ask [Is a debugger coming out soon?] and wait
if <(answer) = [ no]> then
say [nooooooooooooo]
stop [the universe]
else:
say [yyyaaayyy!]
celebrate
end

Last edited by capybara (March 27, 2016 23:14:12)

capybara
Scratcher
51 posts

Scratch debugger

IronBit_Studios wrote:

No support; while this is great, the ST will take forever to do this.
While you're at it, this place is great for issues like this.

Is that an excuse for making one?

Also: finally, someone who has played the Portal games!
Best. Games. Ever.

Last edited by capybara (March 27, 2016 23:15:11)

mrbobbygreathead
Scratcher
1000+ posts

Scratch debugger

capybara wrote:

IronBit_Studios wrote:

No support; while this is great, the ST will take forever to do this.
While you're at it, this place is great for issues like this.

Is that an excuse for making one?

Also: finally, someone who has played the Portal games!
Best. Games. Ever.
Answer to secret message: no

Yes that is an excuse.

To make your siggy, click here
IronBit_Studios
Scratcher
1000+ posts

Scratch debugger

capybara wrote:

IronBit_Studios wrote:

No support; while this is great, the ST will take forever to do this.
While you're at it, this place is great for issues like this.

Is that an excuse for making one?
???

capybara wrote:

Also: finally, someone who has played the Portal games!
Best. Games. Ever.
Honestly I like TF2 more. /offtopic

mrbobbygreathead wrote:

Yes that is an excuse.
To make your siggy, click here

mrbobbygreathead wrote:

Another way is to scroll to the bottom of the discussion home page and click “change your signature”.
Uhh… please don't spam.
new_nimrocco
Scratcher
54 posts

Scratch debugger

Too advanced…..

Good idea for the hidden menu
DaSpudLord
Scratcher
1000+ posts

Scratch debugger

There used to be a single-stepping mode in 1.4, I think. We really need to bring it back- I also have projects that I have either quit or are currently sitting in my unshared projects folder simply because I can't diagnose a bug with them.
capybara
Scratcher
51 posts

Scratch debugger

DaSpudLord wrote:

There used to be a single-stepping mode in 1.4, I think. We really need to bring it back- I also have projects that I have either quit or are currently sitting in my unshared projects folder simply because I can't diagnose a bug with them.

Oh yeah, I remember that, it was epic. I never used it much because my programming wasn't very advanced back then.
helloandgoodbye9
Scratcher
1000+ posts

Scratch debugger

DaSpudLord wrote:

There used to be a single-stepping mode in 1.4, I think. We really need to bring it back- I also have projects that I have either quit or are currently sitting in my unshared projects folder simply because I can't diagnose a bug with them.
I heard about that, and that would be very useful, but a little slow for big projects. If you really need a debugger, program one.
Semi-support.
capybara
Scratcher
51 posts

Scratch debugger

helloandgoodbye9 wrote:

DaSpudLord wrote:

There used to be a single-stepping mode in 1.4, I think. We really need to bring it back- I also have projects that I have either quit or are currently sitting in my unshared projects folder simply because I can't diagnose a bug with them.
I heard about that, and that would be very useful, but a little slow for big projects. If you really need a debugger, program one.
Semi-support.

WHAT? That doesn't even make sense! I can't program this on scratch, it has to be a part of scratch! I would have to put a wait until space pressed block in between EVERY other block, and then take them out a again for testing!
helloandgoodbye9
Scratcher
1000+ posts

Scratch debugger

capybara wrote:

helloandgoodbye9 wrote:

DaSpudLord wrote:

There used to be a single-stepping mode in 1.4, I think. We really need to bring it back- I also have projects that I have either quit or are currently sitting in my unshared projects folder simply because I can't diagnose a bug with them.
I heard about that, and that would be very useful, but a little slow for big projects. If you really need a debugger, program one.
Semi-support.

WHAT? That doesn't even make sense! I can't program this on scratch, it has to be a part of scratch! I would have to put a wait until space pressed block in between EVERY other block, and then take them out a again for testing!
Congrats! You just programed one . I would do it a different way by logging each command, though . Its hard, but gives you more control and can be better for bigger projects. Like I said, I would give Semi-Support. Its could be helpful, but a haven't encountered anything that I need this for.
capybara
Scratcher
51 posts

Scratch debugger

helloandgoodbye9 wrote:

Congrats! You just programed one . I would do it a different way by logging each command, though . Its hard, but gives you more control and can be better for bigger projects. Like I said, I would give Semi-Support. Its could be helpful, but a haven't encountered anything that I need this for.

Well that's me outsmarted, that is.
helloandgoodbye9
Scratcher
1000+ posts

Scratch debugger

capybara wrote:

helloandgoodbye9 wrote:

Congrats! You just programed one . I would do it a different way by logging each command, though . Its hard, but gives you more control and can be better for bigger projects. Like I said, I would give Semi-Support. Its could be helpful, but a haven't encountered anything that I need this for.

Well that's me outsmarted, that is.
Like I said, it is hard to make but gives you more control. I have never needed this, but since this is a cool idea, Im giving Semi-Support.
capybara
Scratcher
51 posts

Scratch debugger

helloandgoodbye9 wrote:

capybara wrote:

helloandgoodbye9 wrote:

Congrats! You just programed one . I would do it a different way by logging each command, though . Its hard, but gives you more control and can be better for bigger projects. Like I said, I would give Semi-Support. Its could be helpful, but a haven't encountered anything that I need this for.

Well that's me outsmarted, that is.
Like I said, it is hard to make but gives you more control. I have never needed this, but since this is a cool idea, I'm giving Semi-Support.

Thanks! Maybe I'll try it. What do you mean by “logging”?
helloandgoodbye9
Scratcher
1000+ posts

Scratch debugger

capybara wrote:

helloandgoodbye9 wrote:

capybara wrote:

helloandgoodbye9 wrote:

Congrats! You just programed one . I would do it a different way by logging each command, though . Its hard, but gives you more control and can be better for bigger projects. Like I said, I would give Semi-Support. Its could be helpful, but a haven't encountered anything that I need this for.

Well that's me outsmarted, that is.
Like I said, it is hard to make but gives you more control. I have never needed this, but since this is a cool idea, I'm giving Semi-Support.

Thanks! Maybe I'll try it. What do you mean by “logging”?
Something like this.
define log [stuff]
add (stuff) to [log v]
wait (0.1) secs

when gf clicked
log [start]
move (10) steps
log [move 10]
...
That way, when it breaks, you stop it and check the log. Whatever was last is most likely the thing that broke it.
capybara
Scratcher
51 posts

Scratch debugger

helloandgoodbye9 wrote:

capybara wrote:

helloandgoodbye9 wrote:

capybara wrote:

helloandgoodbye9 wrote:

Congrats! You just programed one . I would do it a different way by logging each command, though . Its hard, but gives you more control and can be better for bigger projects. Like I said, I would give Semi-Support. Its could be helpful, but a haven't encountered anything that I need this for.

Well that's me outsmarted, that is.
Like I said, it is hard to make but gives you more control. I have never needed this, but since this is a cool idea, I'm giving Semi-Support.

Thanks! Maybe I'll try it. What do you mean by “logging”?
Something like this.
define log [stuff]
add (stuff) to [log v]
wait (0.1) secs

when gf clicked
log [start]
move (10) steps
log [move 10]
...
That way, when it breaks, you stop it and check the log. Whatever was last is most likely the thing that broke it.


… and I don't have too take it out to test… cool!
ilikecereal1
Scratcher
100+ posts

Scratch debugger

support!

Powered by DjangoBB