Skip to content

Commit 74403e8

Browse files
Merge pull request #10689 from MicrosoftDocs/main638791526362636635sync_temp
For protected branch, push strategy should use PR and merge to target branch method to work around git push error
2 parents 9299c80 + 225aeb7 commit 74403e8

File tree

2 files changed

+12
-5
lines changed

2 files changed

+12
-5
lines changed

docs/containers/container-build-from-command-line.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -63,6 +63,12 @@ msbuild /p:SolutionPath=<solution-name>.sln /p:Configuration=Release docker-comp
6363

6464
To view the MSBuild logs, see [Obtaining build logs with MSBuild](../msbuild/obtaining-build-logs-with-msbuild.md).
6565

66+
## Build from the command line
67+
68+
Visual Studio uses Fast Mode (if enabled) to produce a container image configured to work best for development and debugging, so we don't recommend copying the docker build commands from the Output window after a Fast Mode build. To build a standard image without nonstandard optimizations, you can right-click on the Dockerfile and choose the **Build Docker image** option.
69+
70+
Visual Studio uses the `dev` tag to designate images that it has specially prepared to optimize the startup time during debugging. However, these images shouldn't be used outside of the context of Visual Studio. This tag is an indication the images have nonstandard modifications and customizations, for example, to support Fast Mode debugging. See [Customize Docker containers in Visual Studio](container-build.md).
71+
6672
## Related content
6773

6874
- [MSBuild properties for container projects](container-msbuild-properties.md).

docs/debugger/cpp-dynamic-debugging.md

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
---
22
title: C++ Dynamic Debugging (Preview)
33
description: Learn how to use C++ Dynamic Debugging to easily debug optimized code.
4-
ms.date: 03/17/2025
4+
ms.date: 04/01/2025
55
ms.topic: how-to
66
f1_keywords:
77
- vs.debug
@@ -265,7 +265,8 @@ If things aren't working as expected, open a ticket at [Developer Community](htt
265265
266266
## General notes
267267
268-
IncrediBuild 10.24 supports C++ Dynamic Debugging builds.
268+
IncrediBuild 10.24 supports C++ Dynamic Debugging builds.\
269+
FastBuild v1.15 supports C++ Dynamic Debugging builds.
269270
270271
Functions that are inlined are deoptimized on demand. If you set a breakpoint on an inlined function, the debugger deoptimizes the function and its caller. The breakpoint hits where you expect it to, as if your program was built without compiler optimizations.
271272
@@ -294,8 +295,8 @@ If your project is built with the Visual Studio build system, a good way to make
294295
295296
1. The **New Solution Configuration** dialog opens. In the **Name** field, enter a name for the new configuration, such as `ReleaseDD`. Ensure that **Copy settings from:** is set to **Release**. Then select **OK** to create the new configuration.
296297
297-
:::image type="complex" source="media/vs-2022/debug-clone-configuration-details-release.png" alt-text="A screenshot that shows the New Project Configuration dialog.":::
298-
The Name field is set to ReleaseDD. The Copy settings from: dropdown list is set to Release.
298+
:::image type="complex" source="media/vs-2022/debug-clone-configuration-details-release.png" alt-text="A screenshot that shows the New Project Configuration dialog for a release build.":::
299+
The Name field is set to ReleaseDD. The 'Copy settings from' dropdown list is set to Release.
299300
:::image-end:::
300301
301302
1. The new configuration appears in the **Active solution configuration** dropdown list. Select **Close**.
@@ -332,7 +333,7 @@ If you want to use debug binaries but you want them to run faster, you can modif
332333
333334
1. The **New Project Configuration** dialog opens. In the **Name** field, enter a name for the new configuration, such as **DebugDD**. Ensure that **Copy settings from:** is set to **Debug**. Then select **OK** to create the new configuration.
334335
335-
:::image type="complex" source="media/vs-2022/debug-clone-configuration-details-debug.png" alt-text="A screenshot that shows the New Project Configuration dialog.":::
336+
:::image type="complex" source="media/vs-2022/debug-clone-configuration-details-debug.png" alt-text="A screenshot that shows the `New Project Configuration dialog` for a debug build.":::
336337
The name field is set to DebugDD. The Copy settings from: dropdown list is set to Debug.
337338
:::image-end:::
338339

0 commit comments

Comments
 (0)