// Moved from "Coding Questions" to "General Discussion" (Kiffi)
What is "step over" and "step out"?
-
Randy Walker
- Addict

- Posts: 1107
- Joined: Sun Jul 25, 2004 4:21 pm
- Location: USoA
What is "step over" and "step out"?
I've tried to observe the behavior on both "step over" and "step out" but cannot figure them out. Searched the forums and help but searches all come up dry. 
// Moved from "Coding Questions" to "General Discussion" (Kiffi)
// Moved from "Coding Questions" to "General Discussion" (Kiffi)
- - - - - - - - - - - - - - - -
Randy
I *never* claimed to be a programmer.
Randy
I *never* claimed to be a programmer.
-
DarkDragon
- Addict

- Posts: 2346
- Joined: Mon Jun 02, 2003 9:16 am
- Location: Germany
- Contact:
Re: What is "step over" and "step out"?
These are debugger terms:
step into: go into the procedure call where the debugger is right now.
step over: execute the procedure as a whole where the debugger is now and stop afterwards again.
step out: leave the current procedure in which the debugger is now.
Usually there is a button or hotkey for each of them in the debugger GUI.
step into: go into the procedure call where the debugger is right now.
step over: execute the procedure as a whole where the debugger is now and stop afterwards again.
step out: leave the current procedure in which the debugger is now.
Usually there is a button or hotkey for each of them in the debugger GUI.
bye,
Daniel
Daniel
Re: What is "step over" and "step out"?
I don't seem to have this debugger option.
Texas Instruments TI-99/4A Home Computer: the first home computer with a 16bit processor, crammed into an 8bit architecture. Great hardware - Poor design - Wonderful BASIC engine. And it could talk too! Please visit my YouTube Channel 
-
Randy Walker
- Addict

- Posts: 1107
- Joined: Sun Jul 25, 2004 4:21 pm
- Location: USoA
Re: What is "step over" and "step out"?
Thanks for the reply DarkDragon. All seem to be proecedure related. I guess that is why I could never get a handle on their behavior. "Step into" is an option I have never seen and still makes no sense. If I just use the step option it seems to go into the procedure anyway if that is the next step.DarkDragon wrote: Mon Sep 16, 2024 3:55 am These are debugger terms:
step into: go into the procedure call where the debugger is right now.
Usually there is a button or hotkey for each of them in the debugger GUI.
- - - - - - - - - - - - - - - -
Randy
I *never* claimed to be a programmer.
Randy
I *never* claimed to be a programmer.
Re: What is "step over" and "step out"?
It's all quite simple...



STEP INTO is not implemented in PureBasic. Some debuggers will not enter and step through procedures, so this forces debugging execution to step into a procedure.
Texas Instruments TI-99/4A Home Computer: the first home computer with a 16bit processor, crammed into an 8bit architecture. Great hardware - Poor design - Wonderful BASIC engine. And it could talk too! Please visit my YouTube Channel 
Re: What is "step over" and "step out"?
'Step into' is the default step mode in PureBasic (it always enters the procedure by default)
-
Randy Walker
- Addict

- Posts: 1107
- Joined: Sun Jul 25, 2004 4:21 pm
- Location: USoA
Re: What is "step over" and "step out"?
VERY Nicely laid out TI-994A -- Thank you VERY Much!!!
And I get the Step In part now too. Thanks Fred!

And I get the Step In part now too. Thanks Fred!
- - - - - - - - - - - - - - - -
Randy
I *never* claimed to be a programmer.
Randy
I *never* claimed to be a programmer.
Re: What is "step over" and "step out"?
Thanks for saying so, Randy. I'm glad it's helpful.
Texas Instruments TI-99/4A Home Computer: the first home computer with a 16bit processor, crammed into an 8bit architecture. Great hardware - Poor design - Wonderful BASIC engine. And it could talk too! Please visit my YouTube Channel 
Re: What is "step over" and "step out"?
Thanks for lessons TI-994A!
If translation=Error: reply="Sorry, Im Spanish": Endif
Re: What is "step over" and "step out"?
Much appreciated, @minimy. I find myself with some unexpected free time at the moment.
Texas Instruments TI-99/4A Home Computer: the first home computer with a 16bit processor, crammed into an 8bit architecture. Great hardware - Poor design - Wonderful BASIC engine. And it could talk too! Please visit my YouTube Channel 
Re: What is "step over" and "step out"?
Hollidays!! Yeeehuuu!
If translation=Error: reply="Sorry, Im Spanish": Endif

