in the midst of something/of doing something

in the midst of (something)

1. While something else is happening. And in the midst of Thanksgiving dinner, our power went out! So the rest of the night was spent by candlelight.
2. In the middle of a particular place. I can't believe there's a botanical garden in the midst of all these rundown houses.
See also: midst, of

in the ˈmidst of something/of doing something

while something is happening or being done; while you are doing something: a country in the midst of a recessionShe discovered it in the midst of sorting out her father’s things.
See also: midst, of, something