|
-
Jan 1st, 2008, 06:46 AM
#1
Thread Starter
Hyperactive Member
[RESOLVED] [2005] Strange Debugging Issue
I have finished with my project on my Laptop and copied the project to a new desktop. Since then i am unable to make changes to my project. In other words, whenever i change codes or controls in my forms i dont get to see the changes made while debugging. Even when i place a breakpoint on any line i get the following meassage:
The brekpoint will not currently be hit. No executable code is associated with this line.
And once i got this message:
No source code file found.
I dont understand why is this happening and i am very scared about it.
Please somebody help.
-
Jan 1st, 2008, 06:49 AM
#2
Re: [2005] Strange Debugging Issue
Have you changed the configuration on the tool bar to Release instead of Debug? If so then you'll be compiling a Release build each time, so your Debug build will never be updated.
-
Jan 1st, 2008, 07:02 AM
#3
Thread Starter
Hyperactive Member
Re: [2005] Strange Debugging Issue
I am sorry but where do i find that option ?
-
Jan 1st, 2008, 07:28 AM
#4
Thread Starter
Hyperactive Member
Re: [2005] Strange Debugging Issue
I tried to look for it in the Documentation but i cannot find any Configuration listbox in the Debug tab of my project's property pages. It has Start Action, Start Options and Enable Debuggers only !
-
Jan 1st, 2008, 07:55 AM
#5
Re: [2005] Strange Debugging Issue
I didn't say anything about the Debug tab of the property pages. I said the tool bar. If you're using VB Express mind, the option to set the current build configuration on the tool bar is absent if I remember correctly.
-
Jan 1st, 2008, 07:22 PM
#6
Addicted Member
Re: [2005] Strange Debugging Issue
It's embarrassing that I too find it impossible to find this Build Configuration... menu item. It used to be there in Visual Studio 2008 Pro but under Debug menu I no longer see "Build Configuration.." Has Microsoft moved it to another location?
-
Jan 1st, 2008, 07:32 PM
#7
Re: [2005] Strange Debugging Issue
I don't have VS 2008 installed here at work and I haven't used it at home for a while, but from memory it looks the same as 2005. Again, I didn't say anything about menu items. I said TOOL BAR. There's a combo box on the VS 2005 tool bar that will say either "Debug" or "Release", or some other configuration if you've added them. If it says "Release" then each time you build you're compiling a Release build, so your Debug build will be unaffected and any changes you make in code will not be reflected in what gets executed by the debugger.
I don't know, maybe the selections you make when setting up the IDE affect whether this item is available from the tool bar or not. If you don't see it then I suggest you add it. Right-click the tool bar area and select Customize, then drag the Build -> Solution Configurations item onto your tool bar. I'd imagine you could do this in VB Express too.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|