RE: VS 2005 won't hit breakpoints when debugging an executable



Thanks for your reply Steve.

The executable we are debugging is unmanaged and produced using a Modula 2
compiler. The DLL is managed and produced using Visual Studio 2005.

The DLL was only mentioned to explain why I am using Visual Studio to debug
the Modula 2 application. The DLL type is irrelevant in regards to the
problem. The problem still occurs when the Modula 2 application does not
load the DLL.

If required I can supply a sample Modula 2 executable and provide details to
illustrate the debugging differences between Visual Studio 2003 and 2005.

Steve.
--
Software and Systems Engineer
Queensland Rail


"Steven Cheng[MSFT]" wrote:

Hello Steve,

From your description, you're debugging an exe application which reference
a separate managed assembly. Since you've the debugging info (symbol and
source) of the assembly, you want to perform source code debugging against
the class library assembly. However, you found the debugging has some
problem(break point not hit) in VS 2005 while it works in VS 2003, correct?

For the exeutable, is it also an .net managed application or an unmanaged
application that use interop to call the managed class library assembly?
If it is a managed application and it is originally built under VS
2003/.NET 1.1, you need to rebuild it with VS 2005 under .net framework
2.0. Is this the case? Or if both the exeutable and dll are unmanaged
binary?

Please feel free to let me know if there is anything I missed here.

Sincerely,

Steven Cheng

Microsoft MSDN Online Support Lead



==================================================

Get notification to my posts through email? Please refer to
http://msdn.microsoft.com/subscriptions/managednewsgroups/default.aspx#notif
ications.



Note: The MSDN Managed Newsgroup support offering is for non-urgent issues
where an initial response from the community or a Microsoft Support
Engineer within 1 business day is acceptable. Please note that each follow
up response may take approximately 2 business days as the support
professional working with you may need further investigation to reach the
most efficient resolution. The offering is not appropriate for situations
that require urgent, real-time or phone-based interactions or complex
project analysis and dump analysis issues. Issues of this nature are best
handled working with a dedicated Microsoft Support Engineer by contacting
Microsoft Customer Support Services (CSS) at
http://msdn.microsoft.com/subscriptions/support/default.aspx.

==================================================



This posting is provided "AS IS" with no warranties, and confers no rights.




.



Relevant Pages

  • Re: Compact Framework 2.0 team needs to finish the .NET CF 2.0 release
    ... is that breakpoint in the DLL which is dynamically loaded (or ... First investigations seems that the IDE for some reason are not deploying ... debugging to a USB attached device is faster. ...
    (microsoft.public.dotnet.framework.compactframework)
  • Re: Customizing the output of CTRL-T
    ... There has been some discussion of using Guy's feature for debugging. ... similar commands to the VMS debugger for language support. ... If you have received the email in error, please notify TransGrid ... individual sender except where the sender expressly and with ...
    (comp.os.vms)
  • Re: [RFC/PATCH] Documentation of kernel messages
    ... On Fri, 15 Jun 2007 11:51:51 PDT, Randy Dunlap wrote: ... And "for debugging" doesn't cut it IMO. ... people doing support can annotate the messages with real life experience on ... Providing a means for getting localized kernel ...
    (Linux-Kernel)
  • Re: Mobile 5 - Debugging Managed C#/Unmanaged C++ Code
    ... set the debugging options to start the managed code EXE that will ... use your DLL and set your breakpoints in the DLL (all from the DLL project, ... managed C++ in the Windows Mobile 5 platform, and the only way to use C ... way to appease the project manager for the additional time it may ...
    (microsoft.public.windowsce.app.development)
  • Re: Debugging WCF apps
    ... For some illustration on visual studio debugging, you can have a look at ... Microsoft MSDN Online Support Lead ... You can send feedback directly to my manager at: ... Forget WCF, anything. ...
    (microsoft.public.dotnet.framework.webservices)

Loading