 |
 | Debug mode seems to switch to run mode |  |
 |
 | |  |
 |
 | |  |
 |
 | |  |
Site Admin
Joined: 13 Jul 2003 |
Posts: 8351 |
|
|
 |
Posted: Mon Feb 23, 2009 4:46 am |
|
 |
 |
 |
 |
I'm sorry that your application is written in a way that requires "restart from scratch", but I'm not sure that we can help you with making your application friendly to your development. BTW, why do you need to run it from scratch? Why not to run the final script directly and debug it?
Regarding Run button, you can click on it and get your script running without debugger, that's correct. On the other hand, if you need to run another script (not currently opened), you'd have to open it first. As I mentioned before, it could be for example mysqladmin script and you may not have local copy of it to get it open. With [Stop] button worked in the old way, clicking on the links or openeing through URL would triggered the debugger. With the new way, debugger won't trigger and it's desired behaviour in this case. Right?
|
_________________ The PHP IDE team
|
 |
 | |  |
Joined: 29 Sep 2004 |
Posts: 62 |
Location: �' AND sleep(21); /* |
|
 |
Posted: Mon Feb 23, 2009 5:15 am |
|
 |
 |
 |
 |
dmitri wrote: | I'm sorry that your application is written in a way that requires "restart from scratch", but I'm not sure that we can help you with making your application friendly to your development. |
The page I'm debugging is the 5th page of a long form. The values of the previous pages are stored in a temp table, along with the sessionid etc. For me to get to the 5th form page with all the preceding values means I need to start the whole thing from scratch each time. Anyway it's not such an uncommon situation that there are several steps that have to happen, saving temp data along the way, before you get to the point where you want to debug. It's also has nothing to do with the application being "friendly" or not - these are real-world scenarios.
dmitri wrote: | BTW, why do you need to run it from scratch? Why not to run the final script directly and debug it? |
Surely this is very common in web development. If I click a button I get all the form values submitted. How do I get these values into the app if I just "run the final script directly and debug it"? And how do I get all the required temp info set up again?
The issue really is that there used to be 2 purposes to the Stop button: (1) to stop the debugger because you don't want to debug anymore, and (2) to stop the debugger so you can fix something and then debug again. As it stands the second option has been removed. I would be very surprised if I was the only PhpEd user that stopped the debugger, made changes and then clicked the link/button in the output window to debug again. Would it not be possible to have some option that will allow you to choose what you want to happen when you click the Stop button?
|
|
 |
 | |  |
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
|
|
|
|  |