- Keep the shape and paging controls above the table and put the full-width slice expression below it, above Close. The grid scrolls between the controls.
- Open at 700 × 500 when there is room. Give short tables the available width, use workbench typography and center the row and column headers.
- Update the title when a slice is submitted and show expression errors below the field.
In a Python debug session, a DataFrame, Series or ndarray variable or watch only showed a one-line repr. It now has View as Table in its context menu: a resizable window with column headers (with dtypes for a DataFrame), the index, the shape, and pagers for rows (100 per page) and columns (30 per page). Each page is one `evaluate` in the paused frame: a small helper slices the object in the debuggee and returns only that page as JSON, so the whole object never goes over DAP. The expression can be edited (e.g. `a[0]` for a 3-D array), and the window stays open across steps, refreshing after each step or frame change.
Closes#5165
Co-authored-by: wildcatDownstairs <[email protected]>