Re: CLR Debugger points to incorrect source code

Tech-Archive recommends: Speed Up your PC by fixing your registry



That was my first thought. But that is not the issue here.

Whats really weird, is that I will be in DataAccess.Provider and set a
break point, and it will pop over to BusinessProcess.Provider to set
the break point. And, that could be a empty line or even a commented
out line in BusinessProcess.Provider. When it runs it will stop on
that break point in the BusinessProcess.Provider but I can tell its
really running DataAccess.Provider.



Bryan Phillips wrote:
If you are using .Net 1.1, be aware that this can also be caused by an
issue with incorrectly generated PDB files.

Bryan Phillips
MCSD, MCDBA, MCSE
Blog: http://bphillips76.spaces.live.com




"Russ" <nesr235@xxxxxxxxxx> wrote in message
news:1161211887.441323.91700@xxxxxxxxxxxxxxxxxxxxxxxxxxxx:

I have two programs with the same name but different name spaces.

i.e .

BusinessProcess.Provider
and
DataAccess.Provider


What happens when I debug remotely, is that the debugger will point to
the BusinessProcess.Provider instead of the DataAccess.Provider. I can
tell that its really executing DataAccess.Provider because of the line
numbers and the variables change values as if its executing
DataAccess.Provider. But, its still pointing to
BusinessProcess.Provider while debugging.

Anyone know how to make the CLR debugger point to the correct
namespace.program?

.



Relevant Pages

  • Re: CLR Debugger points to incorrect source code
    ... Bryan Phillips wrote: ... issue with incorrectly generated PDB files. ... What happens when I debug remotely, is that the debugger will point to ... tell that its really executing DataAccess.Provider because of the line ...
    (microsoft.public.dotnet.framework)
  • Re: CLR Debugger points to incorrect source code
    ... Bryan Phillips ... Blog: http://bphillips76.spaces.live.com ... What happens when I debug remotely, is that the debugger will point to ... tell that its really executing DataAccess.Provider because of the line ...
    (microsoft.public.dotnet.framework)
  • Re: LdrInitializeThunk Causes Process to Die
    ... > if/how it avoids the initialization problem. ... It does not avoid the problem, Either it does the initialization ... > thread after LdrpInitialize finishes executing. ... there is not much a user-mode debugger can do. ...
    (microsoft.public.win32.programmer.kernel)
  • Re: Catching HTTP error
    ... place rigth now. ... >Ok, that's in the debugger. ... after executing ...
    (microsoft.public.dotnet.framework.aspnet)
  • Re: 2005 too smart for its own good?
    ... I have a program I'm writing that has started executing the line ... following the line that is highlighted in the debugger. ... the directory test to oldtest. ...
    (microsoft.public.dotnet.languages.vb)