![](./templates/Morpheus/images/spacer.gif) |
![](./templates/Morpheus/images/blue/hdr_left_post.gif) | Do not allow breakpoints on non-executable lines | ![](./templates/Morpheus/images/blue/hdr_right_blue.gif) |
![](./templates/Morpheus/images/ftr_right.gif) |
![](./templates/Morpheus/images/blue/hdr_left_post.gif) | | ![](./templates/Morpheus/images/blue/hdr_right_blue.gif) |
![](./templates/Morpheus/images/ftr_right.gif) |
![](./templates/Morpheus/images/blue/hdr_left_post.gif) | | ![](./templates/Morpheus/images/blue/hdr_right_blue.gif) |
![](./templates/Morpheus/images/ftr_right.gif) |
![](./templates/Morpheus/images/blue/hdr_left_post.gif) | | ![](./templates/Morpheus/images/blue/hdr_right_blue.gif) |
![](./templates/Morpheus/images/ftr_right.gif) |
![](./templates/Morpheus/images/blue/hdr_left_post.gif) | | ![](./templates/Morpheus/images/blue/hdr_right_blue.gif) |
Veteran
Joined: 26 Dec 2006 |
Posts: 253 |
Location: Phoenix, AZ |
|
![](./templates/Morpheus/images/spacer.gif) |
Posted: Thu Jun 14, 2007 12:15 pm |
|
![](./templates/Morpheus/images/posttop_left.gif) |
![Reply with quote Reply with quote](templates/Morpheus/images/lang_english/blue/icon_quote.gif) |
![](./templates/Morpheus/images/spacer.gif) |
![](./templates/Morpheus/images/spacer.gif) |
Blizz wrote: | Personally I don't think the visual "sliding" is really necessary. It's fairly obvious that if you click line X and the breakpoint appears on line Y that line X is not executable. Should be pretty clear for everyone with a little logical reasoning imho ![Smile](images/smiles/icon_smile.gif) |
If it were that obvious, then I don't think people would be trying to set a breakpoint on a non-executable line to begin with. Nor do I think this topic would continue to come up over and over, nor do I think most IDEs would have bothered putting something in place to prevent ill-placed stops.
I think just having it show up somewhere else would confuse matters even more, since it might give the impression of the IDE simply not doing what you requested - a bug. Remember, the user hasn't yet realized that a line is non-executable. Heck, if the stop ends up one line up or down, the programmer could even think that they simply mis-targeted their click and proceed to immediately do it again. Further, depending on how familiar they are with the code, what level of programmer they are, and other factors, it may take quite a while for the user to reach that conclusion on their own, especially when they're focused on the fact that IDE just did something completely contrary to a requested action without any indication as to why.
It need not be overly fancy, just a simple, quick little animation to give a clue what happened. Remember, a friendly user interface is a Good Thing, and good UI design dictates that the user shouldn't have to draw logical bridges to figure out why a program just did something contrary to their very reasonable and very normal expectations.
|
|
![](./templates/Morpheus/images/ftr_right.gif) |
![](./templates/Morpheus/images/blue/hdr_left_post.gif) | Re: Do not allow breakpoints on non-executable lines | ![](./templates/Morpheus/images/blue/hdr_right_blue.gif) |
Joined: 28 Mar 2007 |
Posts: 53 |
|
|
![](./templates/Morpheus/images/spacer.gif) |
Posted: Thu Jun 14, 2007 3:13 pm |
|
![](./templates/Morpheus/images/posttop_left.gif) |
![Reply with quote Reply with quote](templates/Morpheus/images/lang_english/blue/icon_quote.gif) |
![](./templates/Morpheus/images/spacer.gif) |
![](./templates/Morpheus/images/spacer.gif) |
RamonS wrote: | That confuses people and quickly becomes the #1 question for support. |
I can imagine what type of software such developer will create. If he/she can not understand the simple idea of break point and where it could be placed.
IMHO he/she should understand the working principles of PHP and debugger. The decision to write PHP script means, you are not regular user any more, you are standing a bit higher, you are software developer.
|
|
![](./templates/Morpheus/images/ftr_right.gif) |
![](./templates/Morpheus/images/blue/hdr_left_post.gif) | | ![](./templates/Morpheus/images/blue/hdr_right_blue.gif) |
Joined: 28 Mar 2007 |
Posts: 53 |
|
|
![](./templates/Morpheus/images/spacer.gif) |
Posted: Thu Jun 14, 2007 3:16 pm |
|
![](./templates/Morpheus/images/posttop_left.gif) |
![Reply with quote Reply with quote](templates/Morpheus/images/lang_english/blue/icon_quote.gif) |
![](./templates/Morpheus/images/spacer.gif) |
![](./templates/Morpheus/images/spacer.gif) |
bobwilliams wrote: | Blizz wrote: | Personally I don't think the visual "sliding" is really necessary. It's fairly obvious that if you click line X and the breakpoint appears on line Y that line X is not executable. Should be pretty clear for everyone with a little logical reasoning imho ![Smile](images/smiles/icon_smile.gif) |
If it were that obvious, then I don't think people would be trying to set a breakpoint on a non-executable line to begin with. Nor do I think this topic would continue to come up over and over, nor do I think most IDEs would have bothered putting something in place to prevent ill-placed stops.
I think just having it show up somewhere else would confuse matters even more, since it might give the impression of the IDE simply not doing what you requested - a bug. Remember, the user hasn't yet realized that a line is non-executable. Heck, if the stop ends up one line up or down, the programmer could even think that they simply mis-targeted their click and proceed to immediately do it again. Further, depending on how familiar they are with the code, what level of programmer they are, and other factors, it may take quite a while for the user to reach that conclusion on their own, especially when they're focused on the fact that IDE just did something completely contrary to a requested action without any indication as to why.
It need not be overly fancy, just a simple, quick little animation to give a clue what happened. Remember, a friendly user interface is a Good Thing, and good UI design dictates that the user shouldn't have to draw logical bridges to figure out why a program just did something contrary to their very reasonable and very normal expectations. |
I think the best solution will be to change color of the break point. For example if debugger could not stop on this point the red dot could be changed with green one.
|
|
![](./templates/Morpheus/images/ftr_right.gif) |
![](./templates/Morpheus/images/blue/hdr_left_post.gif) | | ![](./templates/Morpheus/images/blue/hdr_right_blue.gif) |
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
|
All times are GMT - 5 Hours
Page 1 of 1
|
|
|
| ![](./templates/Morpheus/images/spacer.gif) |