다가 ②

while I was doing

Explanation

It can also be used to express that the action in the first clause continues while the action in the second clause occurs.

Details

'가' is sometimes omitted with no change to the meaning.

Korean Grammar in Use

This expression is used to indicate that the action in the preceding clause continues while the action in the following clause occurs.

Details

The subject of the preceding and following clauses must be the same.

(내가) 밥을 먹다가 전화가 왔습니다.

The sentence is ungrammatical because the subject of 전화가 왔습니다 is 전화. So it has a different subject from the preceding clause.