Files
openide/platform/xdebugger-impl
Dmitry.Neverov 17343fa6f5 [clion][debugger] CPP-47206 fix source kind selection
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
2025-11-12 08:42:28 +00:00
..
2025-10-08 15:04:46 +00:00