Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
HomeAnnouncementsFree MagazinesWhite PapersSubmit Content
Discussion GroupsASP.NETWindows FormsLanguages.NET FrameworkVisual Studio.NET
Articles.NET FrameworkASP.NETToolsWindows Forms
.NET DirectoryOpen Source ProjectsUser GroupsWeb Resources
Related Topics
Visual Basic 6SQL ServerMS AccessOther DB ProductsMS Server ProductsMore Topics ...

.NET Forum / .NET Framework / New Users / July 2006

Tip: Looking for answers? Try searching our database.

Assembly reported as built without debug info - that is not true

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Juan Dent - 20 Jul 2006 22:50 GMT
Hi,

I have copied and registered to the GAC an assembly from my main machine to
another one. When I try to remotely debug the application that loads that
assembly, I get an error that does not make any sense (since I can perfectly
debug it in my own machine):

-----------
The following module was built either with optimizations enabled or without
debug information:..."
-----------

What could be happening? What can I do to remotely debug this assembly?
Signature

Thanks in advance,

Juan Dent, M.Sc.

Gary Chang[MSFT] - 21 Jul 2006 09:54 GMT
Hi Juan,

Thank you posting!

>-----------
>The following module was built either with optimizations
[quoted text clipped - 3 lines]
>What could be happening? What can I do to remotely
>debug this assembly?

From the error message, it seems the target assembly has been optimized or
the debugger cannot find its debug information (.pdb file) while debugging.

In order to isolate this problem, would you please provide more detailed
info about the scenario? When do you get that error message? Can you
successfully remote debug any other assembly which is not in the GAC?

I suggest you can watch the 'Modules' window (Debug | Windows | Modules)
while performing the remote debugging. You can find that specific assembly
in the Modules window's loading assemblies' list, check its 'Optimized' and
'Symbol Status' properties.

If the 'Symbol Status' field shows "Cannot find", then it should be caused
by the debugger cannot find that assembly's .pdb file. I suggest you can
copy its .pdb file to the remote machine's ..\WINDOWS\Symbols\dll\
directory.

These tests will help us get closer to resolving your issue, so I
appreciate your time in performing them. Let me know the results at your
earliest convenience. If you have any questions or concerns, please let me
know. I am standing by to help you.

Thanks!

Best regards,

Gary Chang
Microsoft Online Community Support
==================================================
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.
Juan Dent - 21 Jul 2006 19:20 GMT
Hi,

Thank you very much for your extraordinarily fast response, as usual!
I eventually figured out much of your suggestions and it was related to the
debugger not finding the pdb. Once I solved that, it debugs fine!!

Again, thanks Gary.

Juan Dent, M.Sc.

> Hi Juan,
>
[quoted text clipped - 54 lines]
> ==================================================
> This posting is provided "AS IS" with no warranties, and confers no rights.
Gary Chang[MSFT] - 24 Jul 2006 07:25 GMT
Hi Juan,

Thanks for the response!

I am glad to know the problem was resolved, you are very welcome. :)

Good Luck!

Best regards,

Gary Chang
Microsoft Online Community Support
==================================================
Get notification to my posts through email? Please refer to
http://msdn.microsoft.com/subscriptions/managednewsgroups/default.aspx#notif
ications.
==================================================
This posting is provided "AS IS" with no warranties, and confers no rights.

Free Magazines

Get these publications absolutely FREE for up to 12 months. There are no hidden fees and no obligation. Simply choose a title, complete the application form and submit it. Read more ...

Oracle MagazineNetwork ComputingComputer WorldBio-IT WorldeWeekInformation WeekInfosecurity
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.