VS 2010 Can't Change Debug Platform?

Aug 17, 2010

I've received a project from a friend and the Debug platform is set to "Active (Itanium)",so I changed it to x86, saved, closed the "My Project" window, and debugged. Same message:Error while trying to run project. Cannot start debugging. The assembly to be debugged was built with a platform incompatible with the current system." I went back into My Project > Debug and it's been set back to Active (Itanium). I tried everything and looked around Google, has no-one else had the same problem? How do I fix it?

View 2 Replies


ADVERTISEMENT

Debug Program As X86 Platform?

Mar 21, 2012

I'm using visual studio 2010 express(.net 4.0) and I can't seem to be able to debug my program as x86 platform.?

View 3 Replies

VS 2010 Using The Debug File - Change The Default Name?

Feb 12, 2012

When I drag my debug file from the debug folder to the start icon in order to make a shortcut for the application on the start menu, it automatically names the shortcut WindowsApplication1. How can I change the default name for this action?

View 14 Replies

.net - VB 2010 Express: Debug.WriteLine Optimized Away Completely In Debug Version?

Aug 31, 2011

Simple question that does not seem to be covered: If I use a lot of Debug.WriteLine statements in my code, will they be completely absent in my production version?

I mean: Is the compiler smart enough to not emit any code for those calls? Or would I have to surround them by #if DEBUG..#end if directives?

View 3 Replies

VS 2010 Chat Server That Can Interact With Mobile Platform

Mar 1, 2011

I've recently created my first serious Windows Service. It is a chat Server that can interact with a mobile Platform.Now If a Exception occurs in OnStart Sub you have no way of knowing there was an exception other than the misleading messagebox.I've Pinpointed the Exception to my fairly Simple log Class that Writes to a log file. Please look if you can see any obvious places where exceptions could occur. [code]

View 3 Replies

VS 2010 Cross Platform Application (windows & Linux)

Dec 22, 2010

am devoloping a simple program in vb.net but i wanna do it a cross platform almost (windows & linux) or if there is a vb.net to C++ code converter

View 2 Replies

Change Software Version On Debug Mode?

Feb 11, 2012

How can i Auto update or manual update my Software version. when i build my project on debug mode. Software version only auto increment when i publish the software. but dont want to publish my software yet. my project is developing state.

View 1 Replies

Visual Studio On Win 7 (64 Bit Ver) Won't Allow Debug To Change Code

Jul 28, 2010

I upgrade my computer to win 7 64 bit and run visual studio 2008, When I try to debug my old dotnet application (orgiinal from XP) it wont allow me to change any code while stop and debug. It said 'Change to 64 bit application is not allowed.

View 3 Replies

Change Breakpoint - Debug A Null Reference Exception

Sep 25, 2009

I'm having some trouble with breakpoints. I'm trying to debug a null reference exception. However if I set a breakpoint right before the null exception normally occurs, the null exception stops occuring. Here is a (very) simplified code snippet to give an example of my code.

[Code]....

In my real project, the line that calls DoSomething will throw a null reference trying to access MyChild. However if I put a breakpoint at that line, MyChild exists, and the call goes through without a problem. In the past, this was usually sign of a race condition in my code. In this scenario however, there are no other threads that modify MyList or any MyParent objects. What could possibly occur when visual studio breaks into code that preserves MyChild object that does not occur when no breakpoint exist? In my real project, the line that calls DoSomething will throw a null reference trying to access MyChild. However if I put a breakpoint at that line, MyChild exists, and the call goes through without a problem.

In the past, this was usually sign of a race condition in my code. In this scenario however, there are no other threads that modify MyList or any MyParent objects. What could possibly occur when visual studio breaks into code that preserves MyChild object that does not occur when no breakpoint exist?

View 2 Replies

Debug-mode - Calculator - Change The Project Name And All The File Names That Had That String In It

Nov 11, 2010

It's just a small calculator project so it's no big deal, but after I had built the project, I wanted to change the project name and all the file names that had that string in it (and all internal references to that string). I had played with this before and knew that it was asking for trouble but I thought, "What the hell, I'll try it again." feeling a bit brash.

Well, everything works fine in debug mode, but there is this DOS window that pops up just before the main form does, and it doesn't go away for the entire debugging session. I think I see that window pop up on all other projects too (if the main form doesn't cover it up completely), but normally, it's only there for a split second.

View 2 Replies

VB 2010 (Windows Forms Project) Run On The Windows 8 Platform?

Jun 21, 2011

will a VB 2010 (Windows Forms Project) run on the Windows 8 platform?

View 3 Replies

VB 2010 Unable To Debug?

Aug 5, 2010

after recently creating a build of one of my projects, I have starting work on my project again.After altering some code, I found that I was unable to debug my program.

View 8 Replies

VS 2010 App Won't Load To Debug?

Feb 1, 2012

I am creating a really cool app, but when I clicked the debug button, I saw it loading in the bottom left corner.

View 4 Replies

Debug Windows Service In 2010?

Oct 19, 2011

I upgraded to VB2010 from VB2008 early this year and have been working on a Windows Service which I am now debugging. When I was using VB2008 in Windows XP SP3 I would put a Stop statement in the code and when execution got to it a dialog would open asking if I wanted to debug it using a development environment listed in a provided list. The list contained the VB2008 VS IDE which I selected which would in turn transfer me to the IDE in debug mode. I was very happy with this setup.

Now I am using VB2010 with Windows 7 and when the execution reaches the Stop statement the service just stops. It no longer offers the choice and ability to "jump" into the development environment via the dialog that I mentioned.[code]...

View 1 Replies

IDE :: Debug In VB 2008/2010 Express?

Apr 15, 2010

I have a VERY perplexing problem in both Visual Basic 2008 & 2010 Express. When I try to debug my project, the program runs without stopping at any breakpoints. If I start the debugging by clicking on Step In, the application just starts running.The Immediate Window has the following line, when I start debuging with Step In:Step into: Stepping over non-user code 'QBPOExport.GlobalFunctions.Main' (QBPOExport.GlobalFunctions.Main is my startup task)

View 2 Replies

VS 2010 Debug Button Has Gone Walkies?

Mar 14, 2012

I have just gone to click on the Green debug button to check the program and it has disapeared.

Where did it go? And most important how do I get it back?

View 2 Replies

VS 2010 Error While Trying To Debug Project?

Sep 8, 2011

When i try to save my program an error pops up telling me that it cannot debug because some sort of file is missing... While my other projects just work, and while i repeat the same steps (placing an entity like a button, coding it), it just shows that error. Its really strange!

View 2 Replies

VS 2010 No Debug.Print To Immediate Window?

May 3, 2011

When I add a debug.print line to my code, it doesn't send the output to the immediate window. I did a search of the forum for debug.print, and found the identical problem, but, the solution listed did not work for me. Basically it said to set the solution configuration to "Debug" as opposed to "Release".

View 3 Replies

Where Is Debug Pause Command In VB 2010

Feb 23, 2010

I cannot find the pause command in VB 2010 Express, even if I pressed Ctrl+Pause, VB opens new tab titled "No source available" In previous VB express 2005 and 2008 it was simple to edit the code while running but in VB 2010 I have to stop the code or put a break point inside the procedure which I want to edit.

View 9 Replies

VB VS 2010 - Machine Hangs When Run In The Debugger Or The Debug Exe

Sep 26, 2011

I have an app I'm developing using vb/vs2010. It's an x86 app running on a 64 bit machine. It hangs when I run it in the debugger or the debug exe. When I run the Release exe, it runs fine. System memory doesn't seem to be a problem. I show 1.8 gig free after I load the Release version. I show a similar number when the debug is hanging. Just to make it all really mystifying, the debug version works if I step through it a line at a time.

View 1 Replies

VS 2010 Debug A Program Crash At Run Time?

May 1, 2012

I am working on a project in Visual Basic .NET 2010 on Windows 7 SP1 that previously ran fine in Windows XP SP3 but has recently started crashing immediately upon running the executable. I have made several additions/changes since the last time it was tested on XP, so it is difficult to pinpoint what might be the problem. (I commented out all of the start form's _Load event, which causes the form to load with no events triggered in the IDE, but the program still crashes in XP, so I suspect it's something other than my code, though I don't know what else could have changed to trigger it.)

[Code]...

View 15 Replies

VS 2010 Debug Exiting After Moving Into While Loop?

Mar 1, 2011

vb.net Public Function GetCPUTemp(ByVal format As TempFormat) As Single

[Code]...

I place a break point on the enumerator = searcher.Get.GetEnumerator() line, and it exits and runs the app after moving past the While enumerator.MoveNext line (into the While loop). No code runs after this point.

View 4 Replies

VS 2010 Trying To Debug Project And Trying To Insert Info

May 10, 2012

I`m trying to insert information in accdb. [code] I`m trying to write the LOMBART system..if anybody have exaples please give me or tell me what to do for this code.

View 3 Replies

Getting The 403 Forbidden Error While Running A VS 2010 In Debug Mode

Jun 30, 2011

I'm getting the 403 Forbidden error while running a VS 2010 in debug mode. It gives me this error as it tries to read thru an XML File. See attachment. This is a web app and it's reading an XML file that retrieves the DB/Server information. It's not the Web.Config file but just a regular xml file. This file is read by every application in our system. Not sure why it suddenly started doing this. I've created the virtual directory on our IIS Server and set permissions on the C:inetpubwwwrootAppName directory of my C: drive where the app resides.

View 2 Replies

IDE :: VB 2010 Express, Windows 7 Debug Not Stopping On Error

Aug 8, 2011

I've just installed Visual Studio 2010 Express on a new laptop running Windows 7 64 bit.

When I debug a VB project and an error is encountered a message is sent to the immediate window, but execution is not halted. This means I am unable to look at variables etc.

View 2 Replies

Open Autos Window For Debug In Program 2010?

Oct 27, 2010

How do you open the autos window for debug in vb .net 2010?

View 2 Replies

Visual Studio 2010 - .NET Debug Button Disabled?

May 9, 2011

I am using Visual Studio Ultimate. I have made a fairly long program which worked fine.One day I find that the debug button was disabled and both the build and rebuild buttons do not work. I have tried opening the same project files in Visual Basic Express 2010 but still, the sane problem.

View 4 Replies

Visual Studio 2010 Code Profiling During Debug

May 1, 2012

I am working on a Visio Addin in VS2010 Professional and am looking for hot spots (specifically around a COM object) while debugging the application. I have found a number of profilers that can profile existing .NET applications, but none of which (that I have seen) support debugging. Further more, because this is a .NET add-in rather than a full standalone executable I'm not sure how they'd fair. [code] Has anyone found a profiler that can be used during a VS2010 debug session?

View 2 Replies

VS 2010 Command Prompt/Debug In VB Form (With Pictures)?

Feb 13, 2012

Someone made a program with this box in it and acts like a integrated command prompt, what is this?

View 3 Replies

VS 2010 Import A Picture In PictureBox While In Debug Mode?

Mar 4, 2011

in Build mode u can easily right click and select a picture but how is it in Debug mode i cant figure this out !

View 6 Replies







Copyrights 2005-15 www.BigResource.com, All rights reserved