|
forums.silverfrost.com Welcome to the Silverfrost forums
|
View previous topic :: View next topic |
Author |
Message |
brucebowler Guest
|
Posted: Wed Dec 26, 2007 5:26 pm Post subject: sdbg "problems" |
|
|
I have 2 suggestions/comments/questions/problems with sdbg (possibly only when launched from within plato, haven't tried the other ways).
If there is a breakpoint set in the code prior to hitting the "green arrow", the program automatically runs to that breakpoint. That is, IMHO, a bug. It should still stop at the first executable statement. An obvious workaround is for the user to ensure there is also a breakpoint at the first executable statement, but it's easy to forget to do that.
If one has chosen to plot an array in the debugger, the debugger can not be exited until the plot window is closed. That's also, IMHO, a bug.
This is with plato v3.50. Not sure what version of sdbg, but it's almost certainly the one that came with that version of plato. |
|
Back to top |
|
|
Robert
Joined: 29 Nov 2006 Posts: 445 Location: Manchester
|
Posted: Wed Jan 02, 2008 1:43 pm Post subject: |
|
|
The behaviour you describe is the way most systems work. If you want to step first then you would normally press 'step' rather than 'run'. |
|
Back to top |
|
|
brucebowler Guest
|
Posted: Wed Jan 02, 2008 2:19 pm Post subject: really? |
|
|
No other system I've ever used behaves that way when invoking the debugger. |
|
Back to top |
|
|
PaulLaidler Site Admin
Joined: 21 Feb 2005 Posts: 7925 Location: Salford, UK
|
Posted: Wed Jan 02, 2008 4:45 pm Post subject: |
|
|
You can set a break point in Plato by clicking in the margin whilst holding down the shift and control keys.
Then you can "step into" the code to get the the first executable statement.
Then you click on the "Run" button.
It all seems reasonable to me.
After plotting an array in SDBG, you cannot progress until closing the plot view, either to continue stepping or running etc.
Again this does not seem to me to be an unreasonable limitation. |
|
Back to top |
|
|
brucebowler Guest
|
Posted: Wed Jan 02, 2008 7:30 pm Post subject: Re: |
|
|
PaulLaidler wrote: | You can set a break point in Plato by clicking in the margin whilst holding down the shift and control keys.
Then you can "step into" the code to get the the first executable statement.
Then you click on the "Run" button.
It all seems reasonable to me. |
OK, I'll buy that argument, even though as stated before, this is the first system I've used where "run" behaves differently depending on whether a breakpoint is set or not.
Quote: | After plotting an array in SDBG, you cannot progress until closing the plot view, either to continue stepping or running etc.
Again this does not seem to me to be an unreasonable limitation. |
it seems *very* unreasonable to me, but then again, while I really like the ability to plot arrays while in the debugger, there are things that bug me more about plot than the fact that if there's a plot window up, there's not a whole lot more that can be done. What I'd like to see most in the way of "plot" is the ability to plot a subset of an array. |
|
Back to top |
|
|
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
Powered by phpBB © 2001, 2005 phpBB Group
|