How to find from where an event was raised

i want to have tab act as <C-n> and shift tab as <C-N> for completion purposes but i also want to have tab for indenting purposes, so i created a <C-Space> keybinding to press <C-x><C-o> and also set the tabs keymaps, and i made a autocmd on CompleteDone to unmap the tabs keybinds however the CompleteDone Event is called at the start of the completion mode and immediately unmaps my tab keymaps, i tested with a minimal config and it doesn’t raise the event twice so i need to find which plugin is raising it.

Try running :map

That should give you the whole list of mappings.