exam questions

Exam 70-483 All Questions

View all questions & answers for the 70-483 exam

Exam 70-483 topic 3 question 8 discussion

Actual exam question from Microsoft's 70-483
Question #: 8
Topic #: 3
[All 70-483 Questions]

You have a C# application named App1 that invokes a method in an external assembly named Assembly1. Assembly1 is written in C++ and is natively compile by using a debug build.
When you debug App1, you do not see any debug information for Assembly1.
You need to ensure that when you debug App1, you see the debug information for Assembly1.
What should you do?

  • A. On the Debugging page of the configuration properties for the C++ project, set the Debugger Type to Native Only.
  • B. On the Debugging page of the configuration properties for the C++ project, set the Debugger Type to Mixed.
  • C. On the Debug page of the project properties for App1, click Enable native code debugging.
  • D. In the project properties for App1, set the working directory to the same directory as Assembly1.
Show Suggested Answer Hide Answer
Suggested Answer: B 🗳️
Reference:
https://msdn.microsoft.com/en-us/library/kcw4dzyf.aspx

Comments

Chosen Answer:
This is a voting comment (?). It is better to Upvote an existing comment if you don't have anything to add.
Switch to a voting comment New
izi
Highly Voted 5 years, 6 months ago
The correct answer is C. Setting the debugger option to mixed in the native app project as stated in the answer B will not work as this is NOT the startup project. P.S. https://docs.microsoft.com/en-us/visualstudio/debugger/how-to-debug-managed-and-native-code?view=vs-2019#configure-mixed-mode-debugging
upvoted 27 times
...
TomiKey
Highly Voted 5 years, 7 months ago
https://docs.microsoft.com/en-us/visualstudio/debugger/how-to-debug-managed-and-native-code?view=vs-2019
upvoted 8 times
...
noussa
Most Recent 4 years, 5 months ago
C is the correct answer https://docs.microsoft.com/en-us/visualstudio/debugger/how-to-debug-managed-and-native-code?view=vs-2019#configure-mixed-mode-debugging
upvoted 2 times
...
lh2607
4 years, 11 months ago
Correct answer is C
upvoted 4 times
...
BurgSharp
4 years, 12 months ago
C: Enable native debugging. link: https://docs.microsoft.com/en-us/visualstudio/debugger/how-to-debug-managed-and-native-code?view=vs-2019
upvoted 4 times
...
MrSmock
5 years, 3 months ago
From the link from TomiKey; the debugger for the managed app should be "enable native code debugging". Hence correct answer should be C.
upvoted 7 times
...
xman
5 years, 4 months ago
The correct answer is B - Check debugger types on the references: https://msdn.microsoft.com/en-us/library/kcw4dzyf.aspx
upvoted 2 times
...
Community vote distribution
A (35%)
C (25%)
B (20%)
Other
Most Voted
A voting comment increases the vote count for the chosen answer by one.

Upvoting a comment with a selected answer will also increase the vote count towards that answer by one. So if you see a comment that you already agree with, you can upvote it instead of posting a new comment.

SaveCancel
Loading ...