при сравнении на совпадение строки следующей операции, добавлена проверка на совпадение исходного файла.
This commit is contained in:
parent
249d19b5fa
commit
9318d45f85
|
|
@ -313,7 +313,7 @@ namespace Debugger
|
|||
for (int j = 0; j < sequencePointCount; j++) {
|
||||
// Step over compiler generated sequences and current statement
|
||||
// 0xFeeFee means "code generated by compiler"
|
||||
if (sequencePoints[j].Line == 0xFeeFee || j == i || ( j > i && sequencePoints[j].Line == sequencePoints[i].Line)) {
|
||||
if (sequencePoints[j].Line == 0xFeeFee || j == i || ( j > i && (sequencePoints[j].Line == sequencePoints[i].Line && sequencePoints[i].Document.URL == sequencePoints[j].Document.URL))) { // line + document must be same
|
||||
// Add start offset or remove last end (to connect two ranges into one)
|
||||
if (stepRanges.Count > 0 && stepRanges[stepRanges.Count - 1] == sequencePoints[j].Offset) {
|
||||
stepRanges.RemoveAt(stepRanges.Count - 1);
|
||||
|
|
|
|||
Loading…
Reference in a new issue