# Live Shot Selection Debug

# Live Shot Selection Debug Tool

Instructions:

1. Open the browser developer console (F12)
2. Navigate to the shot table in your application
3. Try the problematic selection behavior
4. Watch the console logs to see what's happening

Test Steps:

1. Multi-select: Ctrl+click on multiple rows to select them
2. Normal click on selected: Click on one of the already selected rows WITHOUT holding any modifier keys
3. Expected: Only the clicked row should remain selected (single selection)
4. Actual (broken): All previously selected rows remain selected

### Console Log Monitor

This will capture the console logs from the shot selection debugging:

Console logs will appear here...
What to look for in the logs:

- `Shot selection - before:` - Shows the selection state before the click
- `Shot selection - clicking row:` - Shows which row was clicked and what modifiers were pressed
- `Shot selection - normal click, setting single selection` - Should appear for normal clicks
- `Shot selection - after:` - Shows the selection state after the click

Issue: If you see the "normal click" message but the "after" state still has multiple selections, then there's a conflict with TanStack Table's built-in selection.