Skip to main content

Restart Visual Studio 2012 debugging code

For 'N' hours I was facing problem with my visual studio 2012 IDE trying to debug an DLL. Somehow it stopped debugging (i.e. code will not stop at any of the breakpoints I placed). I was using external Exe (using Project-> Debug-> Start External Program) to do so. It was working perfectly fine and all of sudden it stopped debugging. I tried every trick google, microsoft and Stackoverflow could throw at me without any luck. Then I stumbled upon old blog entry written by Steven Wouters which did the trick for me...

Common issues I faced -

  • The symbol xxxx does not match the module
  • No native symbols in symbol file
  • debugging information for cannot be found
  • vs 2012 stopped debugging code



From the blog of Steven Wouters 


Debugging in Visual Studio .Net 2003

Am i stupid? No i´m not! But now and then i make stupid mistakes. This is defenitily one off those which costed me an awfull lot of time!
What happened? Suddenly, without any obvious reason, i could't debug in Visual Studio .Net 2003 anymore. I didn't do anything, it just happened. (that's what i thought. Yes i know; nothing ever just happens, but ...)
When i started debugging i saw for the system dll´s "No symbols loaded".
For my own dll's "No native symbols in symbol file" appeared. This didn't ring a bell!
So i started looking on the net, couln't find anything that helped me. ...
And then, after ... i don't want to tell you how much time i lost with this, despite all, i started debugging again, looked at the popup that you get when you press attach to a proces, and saw that only "Native" was checked and not "Common Language Runtime".
Aaaaahhhh! In the beginning i was really desperate, but now, five fingernails later, i'm glad i found it! Finally i will sleep again tonight!

Comments

Popular posts from this blog

Strategic Assessment of Indian offshore IT and IT Enabled Services Industry

Introduction Outsourcing is a strategic decision taken by firms to achieve competitive advantage whereby products or services are produced more effectively and efficiently by outside suppliers. As par McCarthy & Anagnostou (2004, p. 63), "outsourcing is an agreement in which one company contracts-out a part of their existing internal activity to another company." Offshore business process outsourcing refers to outsourcing to vendors outside the country, predominantly to developing nations to leverage the cost advantage. To remain competitive and focus on core competencies, companies are driving toward offshore outsourcing as it helps free up resources (SCHEIBE, MENNECKE, & ZOBEL, 2006, p. 283) and help higher management focus on core business requirements (Blumberg, 1998). The offshoring provides effective means of reducing cost by outsourcing non-core activites to third party who can provide similar, if not better, services at lower cost. India is the favourite desti...

Organisational Culture Case Study : Perot Systems India Ltd

The assignment is to produce a case study using the relevant concepts, theories and models introduced in the module, describe and analyse organisational culture and discuss, using the examples from the organisation, whether organisational culture can be managed. Click below link for flash content Organisational Culture Case Study : Perot Systems India Ltd Organisational Culture Case Study : Perot Systems India Ltd. Rajesh Purohit, University of Leicester, UK The assignment is to produce a case study using the relevant concepts, theories and models introduced in the module, describe and analyse organisational culture and discuss, using the examples from the organisation, whether organisational culture can be managed. Introduction The case study uses interpretive methodology including ethnographic methods and action research within an interpretive paradigm. The research builds on years of participant observation and interview with employees and human resource department, statisti...

What insights does the “resource based view” of Strategy add to an understanding of competitive advantage that the “design school” model leaves out?

Competitive Advantage A company is said to be in competitive advantage when it develops or get hold of attribute which helps it to do better than its competitors in terms of higher rate of return on investment. Competitive advantage occurs when firm develops or acquire unique attributes which help it to outperform its competitors. This attributes can be new technology, business process, highly skilled technical resources etc. Resource Based View (RBV) Design school theory of business strategy caters mainly for external environment and leaves out any internal resources. Resource base view (RBV) is used to determine internal resources from within the firm contributing towards greater financial performance (Kearns & Lederer, 2003). The core of the RBV emphasises that organisation to maximise rate of return and financial profitability and form sustainable competitive advantage, should have heterogeneous resources and capabilities. The resources in question should be inimitable an...