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;








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.










share|improve this question




























    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.










    share|improve this question
























      0












      0








      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.










      share|improve this question














      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






      share|improve this question













      share|improve this question











      share|improve this question




      share|improve this question










      asked Mar 26 at 13:59









      mattmatt

      2,2782 gold badges23 silver badges45 bronze badges




      2,2782 gold badges23 silver badges45 bronze badges






















          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
          );



          );













          draft saved

          draft discarded


















          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.



















          draft saved

          draft discarded
















































          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.




          draft saved


          draft discarded














          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





















































          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







          Popular posts from this blog

          Kamusi Yaliyomo Aina za kamusi | Muundo wa kamusi | Faida za kamusi | Dhima ya picha katika kamusi | Marejeo | Tazama pia | Viungo vya nje | UrambazajiKuhusu kamusiGo-SwahiliWiki-KamusiKamusi ya Kiswahili na Kiingerezakuihariri na kuongeza habari

          Swift 4 - func physicsWorld not invoked on collision? The Next CEO of Stack OverflowHow to call Objective-C code from Swift#ifdef replacement in the Swift language@selector() in Swift?#pragma mark in Swift?Swift for loop: for index, element in array?dispatch_after - GCD in Swift?Swift Beta performance: sorting arraysSplit a String into an array in Swift?The use of Swift 3 @objc inference in Swift 4 mode is deprecated?How to optimize UITableViewCell, because my UITableView lags

          Access current req object everywhere in Node.js ExpressWhy are global variables considered bad practice? (node.js)Using req & res across functionsHow do I get the path to the current script with Node.js?What is Node.js' Connect, Express and “middleware”?Node.js w/ express error handling in callbackHow to access the GET parameters after “?” in Express?Modify Node.js req object parametersAccess “app” variable inside of ExpressJS/ConnectJS middleware?Node.js Express app - request objectAngular Http Module considered middleware?Session variables in ExpressJSAdd properties to the req object in expressjs with Typescript