From df9444fd18244cca72e3de9762840912da0d7336 Mon Sep 17 00:00:00 2001 From: Chuck Ries Date: Tue, 28 Apr 2026 13:58:24 -0700 Subject: [PATCH 1/4] Document Source Server unavailability in protected mode Added note about Source Server availability in protected mode. --- docs/debugger/protected-mode-dump-debugging.md | 1 + 1 file changed, 1 insertion(+) diff --git a/docs/debugger/protected-mode-dump-debugging.md b/docs/debugger/protected-mode-dump-debugging.md index 349f850473e..8de99204c4f 100644 --- a/docs/debugger/protected-mode-dump-debugging.md +++ b/docs/debugger/protected-mode-dump-debugging.md @@ -24,6 +24,7 @@ Protected mode isolates the debugger process from the rest of the system using A * The **Tasks** view will be empty in the Parallel Stacks window * The debugger **Tasks** window (**Debug->Windows->Tasks**) will be empty * Protected mode isn't enabled for Diagnostic Analysis and Debug Managed Memory +* Source Server is not available in protected mode ## Disable protected mode From 14bdd98ac9d3e13286f0044615d783d53012c918 Mon Sep 17 00:00:00 2001 From: Mike Jones Date: Mon, 11 May 2026 12:14:59 -0700 Subject: [PATCH 2/4] Apply suggestion from @Mikejo5000 --- docs/debugger/protected-mode-dump-debugging.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/debugger/protected-mode-dump-debugging.md b/docs/debugger/protected-mode-dump-debugging.md index 8de99204c4f..fc2d196a58e 100644 --- a/docs/debugger/protected-mode-dump-debugging.md +++ b/docs/debugger/protected-mode-dump-debugging.md @@ -24,7 +24,7 @@ Protected mode isolates the debugger process from the rest of the system using A * The **Tasks** view will be empty in the Parallel Stacks window * The debugger **Tasks** window (**Debug->Windows->Tasks**) will be empty * Protected mode isn't enabled for Diagnostic Analysis and Debug Managed Memory -* Source Server is not available in protected mode +* Source Server isn't available in protected mode ## Disable protected mode From 906144bcb1354f7406c462b69b830b7e9e92bc99 Mon Sep 17 00:00:00 2001 From: "Mike Jones (Docs)" Date: Mon, 11 May 2026 12:45:51 -0700 Subject: [PATCH 3/4] Link fixes for DIA SDK --- .../idiadatasource-loaddatafromistream.md | 4 ++-- .../idiadatasourceex-loaddatafromistreamex.md | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/docs/debugger/debug-interface-access/idiadatasource-loaddatafromistream.md b/docs/debugger/debug-interface-access/idiadatasource-loaddatafromistream.md index 2b6a5c81941..a354da9d2bf 100644 --- a/docs/debugger/debug-interface-access/idiadatasource-loaddatafromistream.md +++ b/docs/debugger/debug-interface-access/idiadatasource-loaddatafromistream.md @@ -29,7 +29,7 @@ HRESULT loadDataFromIStream ( `pIStream` -[in] An object representing the data stream to use. +[in] An [IStream](/windows/desktop/api/objidl/nn-objidl-istream) object representing the data stream to use. ## Return Value @@ -43,7 +43,7 @@ If successful, returns `S_OK`; otherwise, returns an error code. The following t ## Remarks -This method allows the debug data for an executable to be obtained through an object. +This method allows the debug data for an executable to be obtained through an [IStream](/windows/desktop/api/objidl/nn-objidl-istream) object. To load with prefetching, use the [`IDiaDataSourceEx::loadDataFromIStreamEx`](../../debugger/debug-interface-access/idiadatasourceex-loaddatafromistreamex.md) method. diff --git a/docs/debugger/debug-interface-access/idiadatasourceex-loaddatafromistreamex.md b/docs/debugger/debug-interface-access/idiadatasourceex-loaddatafromistreamex.md index 47cee8cad40..578dc3fd10a 100644 --- a/docs/debugger/debug-interface-access/idiadatasourceex-loaddatafromistreamex.md +++ b/docs/debugger/debug-interface-access/idiadatasourceex-loaddatafromistreamex.md @@ -30,7 +30,7 @@ HRESULT loadDataFromIStreamEx ( `pIStream` -[in] An object representing the data stream to use. +[in] An [IStream](/windows/desktop/api/objidl/nn-objidl-istream) object representing the data stream to use. `fPdbPrefetching` @@ -48,7 +48,7 @@ If successful, returns `S_OK`; otherwise, returns an error code. The following t ## Remarks -This method allows the debug data for an executable to be obtained from memory through an object. +This method allows the debug data for an executable to be obtained from memory through an [IStream](/windows/desktop/api/objidl/nn-objidl-istream) object. To load a .pdb file without validation, use the [`IDiaDataSourceEx::loadDataFromPdbEx`](../../debugger/debug-interface-access/idiadatasourceex-loaddatafrompdbex.md) method. From 596681e4253a2deb9a6b295f8d522e62ac809e40 Mon Sep 17 00:00:00 2001 From: "Mike Jones (Docs)" Date: Mon, 11 May 2026 12:55:31 -0700 Subject: [PATCH 4/4] Acrolinx edits --- .../idiadatasourceex-loaddatafromistreamex.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/debugger/debug-interface-access/idiadatasourceex-loaddatafromistreamex.md b/docs/debugger/debug-interface-access/idiadatasourceex-loaddatafromistreamex.md index 578dc3fd10a..f9bafee3c17 100644 --- a/docs/debugger/debug-interface-access/idiadatasourceex-loaddatafromistreamex.md +++ b/docs/debugger/debug-interface-access/idiadatasourceex-loaddatafromistreamex.md @@ -34,7 +34,7 @@ HRESULT loadDataFromIStreamEx ( `fPdbPrefetching` -[in] If set to `TRUE`, adjacent debug records are prefetched into memory, potentially replacing many smaller file I/O operations with fewer, larger operations, and thus improving overall throughput as those records are subsequently accessed, at the expense of potentially increased memory usage. If set to `FALSE`, this behaves identically to [`IDiaDataSource::loadDataFromIStream`](../../debugger/debug-interface-access/idiadatasource-loaddatafromistream.md). If set to some other value, behavior is unspecified. +[in] If set to `TRUE`, adjacent debug records are prefetched into memory, potentially replacing many smaller file I/O operations with fewer, larger operations, and thus improving overall throughput as those records are subsequently accessed, at the expense of potentially increased memory usage. If set to `FALSE`, this function behaves identically to [`IDiaDataSource::loadDataFromIStream`](../../debugger/debug-interface-access/idiadatasource-loaddatafromistream.md). If set to some other value, behavior is unspecified. ## Return Value @@ -44,7 +44,7 @@ If successful, returns `S_OK`; otherwise, returns an error code. The following t |-----------|-----------------| |`E_PDB_FORMAT`|Attempted to access a file with an obsolete format.| |`E_INVALIDARG`|Invalid parameter.| -|`E_UNEXPECTED`|Data source has already been prepared.| +|`E_UNEXPECTED`|Data source is already prepared.| ## Remarks