debug - watches preserve - PS 102.18

hi

I am new to xdebug at all so maybe I just do not understand how this should looks like, but...

My problem is that the "Watches" are not preserved over debug sessions.

I mean:
1. I do set breakpoint in the code.
2. I turn on "Start Listen PHP debug Connections".
3. I refresh the browser.
4. The debug session in the IDE starts (tab "index.php")
5. I set the Watches.
6. Now if the code reaches its end the session is "Disconnected".
7. What I do now is I refresh the browser to start the debug sesssion again. (maybe this is the mistake?)
8. The new tab "index.php" is created but the Watches are not there. I must add them again.

Is this bug ?


BTW: Would not it be good to have possibility to save/load the Watches so for example next time I will debug "Problem X" I can just load the Waches for that problem.


--
grtz
Krystian

0
Avatar
Permanently deleted user

Hello Krystian,

Is this bug ?

It is known usability problem. Please vote for the correspondent issue in our issue tracker - WI-4603.

BTW: Would not it be good to have possibility to save/load the Watches so for example next time I will debug "Problem X" I can just load the Waches for that problem.


Sounds reasonable. Please create a feature request  - http://youtrack.jetbrains.net/issues/WI.


Thank you for feedback!

0
Avatar
Permanently deleted user

I cannot imagine how it escaped your mind to not give the ability to save watches in a project.
This is one of the elemental functionalities for a php debug framework. The user should be able to save watches along with a project. This is very basic stuff. Hasn't it occured to you during debugging a project?
Didn't you ask any test users before releasing phpstorm in the first place?

0

Hi there,

I hope you saw the year when those messages were posted? More than 4 years ago.

These days watches are saved between debug sessions (saved as part of the Run/Debug configuration)

0
Avatar
Permanently deleted user

Sorry, I was referring to version 7. Up until that version, the watches could not be saved.
Thanks for notifying me about this.

0

请先登录再写评论。