473,396 Members | 1,734 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,396 software developers and data experts.

Debugging Issue

I'm newbie to VB.net, I used to work on Ver VB 6.0.

When I'm debugging using VB.Net it is not allowing me to update any code
when I'm running.

Also when I do F8 it is not taking me thru the whole code, it goes into the
initial event and then it exits the debugger and runs the whole application.

Do I need to set some thing or its the behaviour with the .Net.

Any suggestions are of great help.
Rgds,
Sindbaad
Nov 21 '05 #1
4 1160
Sindbaad,

That is normal. In the next version a part of that VB6 behaviour will come
back. (With limitations is told).

(For the rest is debugging in VBNet in my opininion very good, you can watch
all kind of windows).

Cor
Nov 21 '05 #2
"Sindbaad" <si******@gmail.com> escribió en el mensaje
news:B6**********************************@microsof t.com...
I'm newbie to VB.net, I used to work on Ver VB 6.0.

When I'm debugging using VB.Net it is not allowing me to update any code
when I'm running.
Edit & Continue is not supported in VS.NET 2002/2003, it will in VS 2005. At
most, you can edit enabling it in Tools, Options, Debugging, Edit and
Continue, but changes won´t apply until next run
Also when I do F8 it is not taking me thru the whole code, it goes into
the
initial event and then it exits the debugger and runs the whole
application.


Have you switched to Visual Basic 6 keyboard mapping (Tools, Customize,
Keyboard, Keyboard Mapping Scheme?

--

Carlos J. Quintero

MZ-Tools 4.0: Productivity add-ins for Visual Studio .NET
You can code, design and document much faster.
http://www.mztools.com

Nov 21 '05 #3
"Sindbaad" <si******@gmail.com> schrieb:
When I'm debugging using VB.Net it is not allowing me to update any code
when I'm running.


Edit and Continue is not supported in VB.NET 2002/2003. It will be back in
VB 2005. What you can do in VB.NET 2002/2003 is changing a setting that
allows you to edit code in debug mode ("Tools" -> "Options" ->
"Debugging" -> "Edit and continue" -> [X] "Allow me to edit VB files while
debugging"). Notice that changes in the code will take effect after
restarting debugging.

--
M S Herfried K. Wagner
M V P <URL:http://dotnet.mvps.org/>
V B <URL:http://dotnet.mvps.org/dotnet/faqs/>

Nov 21 '05 #4
Thank you very much folks !

It actually worked after changing the setting in Tools -> Options.

Thank you,
Sindbaad

"Herfried K. Wagner [MVP]" wrote:
"Sindbaad" <si******@gmail.com> schrieb:
When I'm debugging using VB.Net it is not allowing me to update any code
when I'm running.


Edit and Continue is not supported in VB.NET 2002/2003. It will be back in
VB 2005. What you can do in VB.NET 2002/2003 is changing a setting that
allows you to edit code in debug mode ("Tools" -> "Options" ->
"Debugging" -> "Edit and continue" -> [X] "Allow me to edit VB files while
debugging"). Notice that changes in the code will take effect after
restarting debugging.

--
M S Herfried K. Wagner
M V P <URL:http://dotnet.mvps.org/>
V B <URL:http://dotnet.mvps.org/dotnet/faqs/>

Nov 21 '05 #5

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

Similar topics

2
by: Kenneth Myhra | last post by:
Hi, We have been trying to develop an IHTTPModule (that was supposed to replace or take over the ISAPI Filters, as far as we know). We have developed one in C# and it seems to be working. The...
0
by: ZMan | last post by:
Scenario: This is about debugging server side scripts that make calls to middle-tier business DLLs. The server side scripts are legacy ASP 3.0 pages, and the DLLs are managed DLLs...
16
by: Serdar Kalaycý | last post by:
Hi everybody, My problem seems a bit clichè but I could not work around. Well I read lots of MSDN papers and discussions, but my problem is a bit different from them. When I tried to run the...
5
by: Velvet | last post by:
Can someone tell me to what process I need to attach to be able to step through my classic ASP code in VS.net 2003. I'm working on an XP box with IIS installed. I also have VS.net 2005 (The...
5
by: snicks | last post by:
I'm trying to exec a program external to my ASP.NET app using the following code. The external app is a VB.NET application. Dim sPPTOut As String sPPTOut = MDEPDirStr + sID + ".ppt" Dim p As...
3
by: Tom | last post by:
We are experiencing some wierd debugging behavior. What happens is that, during debugging with VS 2003, the debugger seems to 'skip' statements that are associated with database operations. For...
3
by: Herb | last post by:
while trying to run this project. I recently loaded VS2005 onto my WinXP Pro computer. Prior to that I was able to start my VS2003 ASP.NET apps in debug mode. When I attempt to do so now, I get...
7
by: | last post by:
I'm writing an ASP.NET app, using Visual Studio 2003. VS is running locally on my laptop, but the web app is running on a remote server. My laptop is not in the domain. I do have a domain account....
3
by: Rick | last post by:
We have a web site that was built as an ASP.Net Web Site, I am unable to remote debug, when build ing the web site there is not a dll or PDB file generated. I can debug on my local machine but...
7
by: GaryDean | last post by:
(this was also posted on the MSDN WCF forum but the answers over there are not so good) I have a WCF Library hosted by IIS 6 and it all works fine. However I need to step through the code in the...
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
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
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
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
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
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
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.