473,386 Members | 1,883 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,386 software developers and data experts.

Map code to assembly

I'm using Dot Net Nuke but this general question:
I'm trying to debug the registration code,
whenever i set breakpoint on the main function i get message:
"breakpoint will not be hit, no symbols loaded".

So i'm going to debug->windows->modules and i want to reffer the assembly
to the correct folder (/bin), but how can i know to which assembly the
registration code belongs?
Generally, when u have code in project, now can u know to which assembly the
code belongs?
Do u know other solutions to the debug problem?

Thanks.

Oct 11 '06 #1
2 1280
Are the pdb files actually there? These are the debug symbol files. You'll
probably need to have the full dotnetnuke solution open and not just the web
site. You'll then need to configure the solution to be in debug mode instead
of release mode. This should generate the pdb symbol files for each dll in
the project. Without these, having the correct dll won't help as the debug
information isn't in there, it's in the pdb files.

--
Hope this helps,
Mark Fitzpatrick
Former Microsoft FrontPage MVP 199?-2006

"???? ???????" <@discussions.microsoft.comwrote in message
news:2D**********************************@microsof t.com...
I'm using Dot Net Nuke but this general question:
I'm trying to debug the registration code,
whenever i set breakpoint on the main function i get message:
"breakpoint will not be hit, no symbols loaded".

So i'm going to debug->windows->modules and i want to reffer the assembly
to the correct folder (/bin), but how can i know to which assembly the
registration code belongs?
Generally, when u have code in project, now can u know to which assembly
the
code belongs?
Do u know other solutions to the debug problem?

Thanks.

Oct 11 '06 #2
The issue "no symbols loaded" happens with one of two situations that I can
think of right now:

1. COM DLLs
2. .NET Assembies compiled for release rather than debug (no pdf file)

You may have found another one, but if the second one fits, compile with
debug on so you have a pdb file and see if that works.

--
Gregory A. Beamer
MVP; MCP: +I, SE, SD, DBA
http://gregorybeamer.spaces.live.com

*************************************************
Think outside of the box!
*************************************************
"???? ???????" <@discussions.microsoft.comwrote in message
news:2D**********************************@microsof t.com...
I'm using Dot Net Nuke but this general question:
I'm trying to debug the registration code,
whenever i set breakpoint on the main function i get message:
"breakpoint will not be hit, no symbols loaded".

So i'm going to debug->windows->modules and i want to reffer the assembly
to the correct folder (/bin), but how can i know to which assembly the
registration code belongs?
Generally, when u have code in project, now can u know to which assembly
the
code belongs?
Do u know other solutions to the debug problem?

Thanks.

Oct 11 '06 #3

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

2
by: Mike Fisher | last post by:
I'm seeing an error when I try to run/debug a web service. Although it doesn't happen every time, it does occur more than half of the times I hit F5. It appears to be returned by the the JIT...
1
by: Eric Robert | last post by:
Hi, I am writing a C# application that uses a C++ unmanaged DLL. When I turn the unmanaged debug option ON, the application is much slower to start and the unmanaged code is very slow to debug....
18
by: Joe Fallon | last post by:
I have some complex logic which is fairly simply to build up into a string. I needed a way to Eval this string and return a Boolean result. This code works fine to achieve that goal. My...
1
by: robert_m_fisher | last post by:
Anyone, I have an ASP.NET webapp in the 1.0 framework that has been working for the past 2ish years. Two weeks ago a new developer received the following error when trying to run the app in...
88
by: Peter Olcott | last post by:
Cab you write code directly in the Common Intermediate language? I need to optimize a critical real-time function.
1
by: Andrew | last post by:
In ASP.NET 1.1 I used to retreive the version of my code-behind assembly using following syntax: Assembly.GetExecutingAssembly().GetName().Version The version was defined in AssemblyInfo.cs using...
4
by: Brian Richards | last post by:
Is it possible to run code in an assembly when it's loaded? In my case I have an assembly that requires that the users path be setup correctly or GetTypes() will throw an exception. Looking for a...
1
by: rkcons | last post by:
Any ideals what would cause this ? Compilation Error Description: An error occurred during the compilation of a resource required to service this request. Please review the following specific...
4
by: bob_jenkins | last post by:
C# allows code to be generated, but the generated code is in its own assembly. Is there a way for that generated code to access internal classes in the assembly that produced it? To have the...
1
by: kmsandeep17 | last post by:
when i host my site on go daddy it give error Compilation Error Description: An error occurred during the compilation of a resource required to service this request. Please review the following...
0
by: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.