L
L
lucky42021-04-07 20:59:36
C++ / C#
lucky4, 2021-04-07 20:59:36

How to enable debugger in Visual Studio?

Someone faced such a problem that when working with a debugger, pointers do not work?

There is an article on msdn: https://docs.microsoft.com/en-us/troubleshoot/visu...
But I don't have such items, although the VS version is 16.9.2

Answer the question

In order to leave comments, you need to log in

2 answer(s)
D
d-stream, 2021-04-07
@d-stream

first you need to make sure that the optimization is turned off
( <Optimize>false</Optimize>in *.csproj/Directory.Build.Props or by clicking on the project properties)

B
BasiC2k, 2021-04-08
@BasiC2k

Changed Release to Debug?

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question