in the midst of something/of doing something

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