Force stack unwind after breaking in visual studio debuggerShould I add the Visual Studio .suo and .user files to source control?What are the various “Build action” settings in Visual Studio project properties and what do they do?Debugging with command-line parameters in Visual StudioHow do I add an existing directory tree to a project in Visual Studio?Using Git with Visual Studio.gitignore for Visual Studio Projects and SolutionsDifference between Build Solution, Rebuild Solution, and Clean Solution in Visual Studio?Writing to output window of Visual StudioCan you force Visual Studio to always run as an Administrator in Windows 8?What makes the Visual Studio debugger stop evaluating a ToString override?
how to add 1 milliseconds on a datetime string?
How could Barty Crouch Jr. have run out of Polyjuice Potion at the end of the Goblet of Fire movie?
How often should alkaline batteries be checked when they are in a device?
Is it possible to access the complete command line including pipes in a bash script?
Why can't a country print its own money to spend it only abroad?
Inverse Colombian Function
Short story where a flexible reality hardens to an unchanging one
Can a creature sustain itself by eating its own severed body parts?
Pass USB 3.0 connection through D-SUB connector
Found old paper shares of Motorola Inc that has since been broken up
Is an easily guessed plot twist a good plot twist?
How to work a regular job as a former celebrity
How can I deal with someone that wants to kill something that isn't supposed to be killed?
Do Dragonborns get unarmored defense?
Are there any documented cases of extinction of a species of fungus?
What is an expert set in the fonts field?
Found more old paper shares from broken up companies
What kind of world would drive brains to evolve high-throughput sensory?
Are rockets faster than airplanes?
What is a plausible power source to indefinitely sustain a space station?
How can I calculate the cost of Skyss bus tickets
Are gangsters hired to attack people at a train station classified as a terrorist attack?
Is it ethical to tell my teaching assistant that I like him?
Do I care if the housing market has gone up or down, if I'm moving from one house to another?
Force stack unwind after breaking in visual studio debugger
Should I add the Visual Studio .suo and .user files to source control?What are the various “Build action” settings in Visual Studio project properties and what do they do?Debugging with command-line parameters in Visual StudioHow do I add an existing directory tree to a project in Visual Studio?Using Git with Visual Studio.gitignore for Visual Studio Projects and SolutionsDifference between Build Solution, Rebuild Solution, and Clean Solution in Visual Studio?Writing to output window of Visual StudioCan you force Visual Studio to always run as an Administrator in Windows 8?What makes the Visual Studio debugger stop evaluating a ToString override?
.everyoneloves__top-leaderboard:empty,.everyoneloves__mid-leaderboard:empty,.everyoneloves__bot-mid-leaderboard:empty margin-bottom:0;
I am trying to remote debug a release, managed (c#) desktop app where most assemblies weren't built with debugging information.
When I attach the debugger to the running process, and hit pause (break) it pauses fine, and the thread viewer shows the names of the functions currently being run in the various threads - this includes functions in assemblies not built with debugging info.
But no callstack is shown.
Is there a way to get the call stack? Even on just one of the threads? even if it means terminating the app?
I ask because the app has an exception handler in it that does do a stack unwind when an exception occurs and gives us a callstack. But the current issue we are trying to debug is a hang, not an exception.
visual-studio debugging remote-debugging managed
add a comment |
I am trying to remote debug a release, managed (c#) desktop app where most assemblies weren't built with debugging information.
When I attach the debugger to the running process, and hit pause (break) it pauses fine, and the thread viewer shows the names of the functions currently being run in the various threads - this includes functions in assemblies not built with debugging info.
But no callstack is shown.
Is there a way to get the call stack? Even on just one of the threads? even if it means terminating the app?
I ask because the app has an exception handler in it that does do a stack unwind when an exception occurs and gives us a callstack. But the current issue we are trying to debug is a hang, not an exception.
visual-studio debugging remote-debugging managed
add a comment |
I am trying to remote debug a release, managed (c#) desktop app where most assemblies weren't built with debugging information.
When I attach the debugger to the running process, and hit pause (break) it pauses fine, and the thread viewer shows the names of the functions currently being run in the various threads - this includes functions in assemblies not built with debugging info.
But no callstack is shown.
Is there a way to get the call stack? Even on just one of the threads? even if it means terminating the app?
I ask because the app has an exception handler in it that does do a stack unwind when an exception occurs and gives us a callstack. But the current issue we are trying to debug is a hang, not an exception.
visual-studio debugging remote-debugging managed
I am trying to remote debug a release, managed (c#) desktop app where most assemblies weren't built with debugging information.
When I attach the debugger to the running process, and hit pause (break) it pauses fine, and the thread viewer shows the names of the functions currently being run in the various threads - this includes functions in assemblies not built with debugging info.
But no callstack is shown.
Is there a way to get the call stack? Even on just one of the threads? even if it means terminating the app?
I ask because the app has an exception handler in it that does do a stack unwind when an exception occurs and gives us a callstack. But the current issue we are trying to debug is a hang, not an exception.
visual-studio debugging remote-debugging managed
visual-studio debugging remote-debugging managed
asked Mar 26 at 13:59
mattmatt
2,2782 gold badges23 silver badges45 bronze badges
2,2782 gold badges23 silver badges45 bronze badges
add a comment |
add a comment |
0
active
oldest
votes
Your Answer
StackExchange.ifUsing("editor", function ()
StackExchange.using("externalEditor", function ()
StackExchange.using("snippets", function ()
StackExchange.snippets.init();
);
);
, "code-snippets");
StackExchange.ready(function()
var channelOptions =
tags: "".split(" "),
id: "1"
;
initTagRenderer("".split(" "), "".split(" "), channelOptions);
StackExchange.using("externalEditor", function()
// Have to fire editor after snippets, if snippets enabled
if (StackExchange.settings.snippets.snippetsEnabled)
StackExchange.using("snippets", function()
createEditor();
);
else
createEditor();
);
function createEditor()
StackExchange.prepareEditor(
heartbeatType: 'answer',
autoActivateHeartbeat: false,
convertImagesToLinks: true,
noModals: true,
showLowRepImageUploadWarning: true,
reputationToPostImages: 10,
bindNavPrevention: true,
postfix: "",
imageUploader:
brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
allowUrls: true
,
onDemand: true,
discardSelector: ".discard-answer"
,immediatelyShowMarkdownHelp:true
);
);
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f55359003%2fforce-stack-unwind-after-breaking-in-visual-studio-debugger%23new-answer', 'question_page');
);
Post as a guest
Required, but never shown
0
active
oldest
votes
0
active
oldest
votes
active
oldest
votes
active
oldest
votes
Is this question similar to what you get asked at work? Learn more about asking and sharing private information with your coworkers using Stack Overflow for Teams.
Is this question similar to what you get asked at work? Learn more about asking and sharing private information with your coworkers using Stack Overflow for Teams.
Thanks for contributing an answer to Stack Overflow!
- Please be sure to answer the question. Provide details and share your research!
But avoid …
- Asking for help, clarification, or responding to other answers.
- Making statements based on opinion; back them up with references or personal experience.
To learn more, see our tips on writing great answers.
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f55359003%2fforce-stack-unwind-after-breaking-in-visual-studio-debugger%23new-answer', 'question_page');
);
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown