SublimeTextXdebug icon indicating copy to clipboard operation
SublimeTextXdebug copied to clipboard

Restore Layout not working

Open revolter opened this issue 11 years ago • 16 comments

The Restore Layout command only closes the 4 tabs but the bottom splitted window remains open even after a Sublime restart. And now I can't close it at all.

revolter avatar Jun 19 '14 08:06 revolter

View layout Single restores the layout fro me on SLT3

daslicht avatar Jun 22 '14 15:06 daslicht

It worked for me too a couple of times, until it broke, but sadly, I can't reproduce this.

revolter avatar Jun 22 '14 21:06 revolter

Did you perhaps change the debug_layout or disable_layout settings? I'm not sure I understand what is the issue, I need more information on how to reproduce this. Do you change the layout during your debugging session?

martomo avatar Jun 23 '14 04:06 martomo

I have noticed that when I stop the Debug session , the XCode relatewd Tabs will just move from teh bottom 2 tabs to the upper mail tab.

daslicht avatar Jun 23 '14 08:06 daslicht

@martomo, I did not changed those settings. What do you mean by changing the layout? I'll let you know if it happens again and I'll pay attention to the steps.

revolter avatar Jun 23 '14 18:06 revolter

@revolt666 With 'changing the layout' I mean, that you resized the Xdebug and/or file views in Sublime Text.

martomo avatar Jun 23 '14 18:06 martomo

I think I did that

revolter avatar Jun 23 '14 20:06 revolter

I too have this issue: screen grab

r0w4n avatar Jun 26 '14 16:06 r0w4n

Yes. Resizing them with the mouse does that to me to. If you want to change the size you need to set that in "debug_layout" instead.

To reset to default go to View => Layout => Single that work every time for me.

Fuxy22 avatar Jun 26 '14 16:06 Fuxy22

something offtopic, is there a way to use Chome Debug view to handle debugging (breakpoints)? The Sublime Xdebug feels quite tedious compare it to eg: PHPStorm

daslicht avatar Jun 26 '14 17:06 daslicht

@revolt666 and @r0w4n upon changing the 'debugging' layout it will forget your previous layout state. Therefore resulting with the 'modified' layout.

When I developed this, I assumed the end-user would use the views without changing the layout, or use the debug_layout to specify their desired layout.

As @Fuxy22 mentioned you can reset your layout in the menu "View - Layout - Single" (Alt+Shift+1 or ⌘+Shift+1)

I will take a look whether it's possible to restore the layout, despite the 'debugging' layout has changed or not.

@daslicht Do you mean handling PHP breakpoints in Chrome Developer Tools?

martomo avatar Jun 26 '14 17:06 martomo

@martomo: Yeah exactly. I have no clue if that would be better , it just pops up to my mind.

in Sublime XDebug, is it normal that you can't explore opjects to its full depth ? I have notives that when I look inside an object i see some times just ... whereas when debugging with ChomeLogger i get the full Object to explore :D

Thank you !

daslicht avatar Jun 26 '14 17:06 daslicht

@daslicht You have a setting for the maximum depth

revolter avatar Jun 26 '14 18:06 revolter

@revolt666 : oh interesting , how do you know the depth of an object ?

daslicht avatar Jun 26 '14 21:06 daslicht

:laughing: yeah, you're right

revolter avatar Jun 27 '14 05:06 revolter

I fixed my layout by setting custom setting in Settings - User in Tools -> Xdebug -> Settings - User added

{
  "close_on_stop": true
}

vivekkumarmaru avatar Jun 06 '18 18:06 vivekkumarmaru