mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-04-19 04:51:24 +07:00
Before the fix for CPP-46877, XDebugSession.currentSourceKind was used for most execution position updates. The sourceKind based on XAlternativeSourceHandler.isAlternativeSourceKindPreferred was used only in the positionReached() handling which is similar to the sessionPaused() event. After the fix for CPP-46877, we started to use the source kind based on XAlternativeSourceHandler.isAlternativeSourceKindPreferred for every position update. Restoring the previous logic fixes the issue with switching to disasm. (cherry picked from commit adae716559248c625bd88053ce041177560c8001) (cherry picked from commit e79cd683c11a9ec598bb560e88aa4b2e0f83e9d8) IJ-CR-182025 GitOrigin-RevId: 9f76d9e40a64ee3226038be9c17414b43008f004