473,472 Members | 1,727 Online
Bytes | Software Development & Data Engineering Community
Create Post

Home Posts Topics Members FAQ

Migrating from VB6 to .Net 2003 : Whatever happened to Edit and continue??


Hi,

I've just got round to trying VB in .Net 2003 (since MS pulled the rug
from under VB6) and... it wont let me edit and continue??? In fact it
wont even let me edit whilst debugging
"cannot currently modify this text in the editor. It is read only"
appears in the status bar at the bottom.

Whats this all about? One of the only reasons I find VB easier to
debug than VC is that I didn't have to rebuild after an edit..

Thanks..
Nov 21 '05 #1
8 1288
Edit and continue is back in 2005....
Nov 21 '05 #2
Silagon

I've just got round to trying VB in .Net 2003 (since MS pulled the rug
from under VB6) and... it wont let me edit and continue??? In fact it
wont even let me edit whilst debugging
Never write facts when you are not sure, you can edit while debugging, have
a good look at the options what you all can do.
"cannot currently modify this text in the editor. It is read only"
appears in the status bar at the bottom.

Whats this all about? One of the only reasons I find VB easier to
debug than VC is that I didn't have to rebuild after an edit..


That is even more with VNNet there are so many features to get what data
there is involved.

I have to say that I hate those persons who do development while debugging.

Why I hate them, because when I see their programs I can absolute not
understand why they did create that spaghetti.

However edit and debug comes back in the version 2005. I don't need it
however some cannot without it as it seems and than we will see again those
nice "development while debugging programs" in future again, now made with
VBNet.

However just my idea.

Cor
Nov 21 '05 #3

Never write facts when you are not sure, you can edit while debugging, have
a good look at the options what you all can do. Perhaps you could point me to the appropriate option?
I have to say that I hate those persons who do development while debugging.

'hate' is a fairly strong emotion... try and be more tolerent of
others' faults :-)
Why I hate them, because when I see their programs I can absolute not
understand why they did create that spaghetti.


I dont see the link between debugging and spaghetti code... it might
impair _your_ ability to write decent code but most of us have
designed our code long before we get round to debugging it.
Nov 21 '05 #4
Silangdon,

Sometimes it is good to express what you think, however I am a person which
try always to offer my other cheek, when I am hit on it. (No it connection
with your message)

:-)
I dont see the link between debugging and spaghetti code... it might
impair _your_ ability to write decent code but most of us have
designed our code long before we get round to debugging it.


Sometimes you don't know why those VB programs have so often more than
normal outcommented lines and than you think: "why?. Than when you know that
there is debug and continue it becomes clear.

However your question.
Tools --> Options -> Debugging --> Edit and Continue, the rest should be
obvious.

I hope this helps,

Cor


Nov 21 '05 #5
hmmm well

when we talk about spaghetti code

in my experience spaghetti code is made by former low level language
programmers who think VB is for noobs and they can easily write a program
in it

i love debug and continue so i can stop , the program dissable the spaghetti
made by those "superior programmers" and see if the program behaves how i
expect it to behave

and after throroughly testing it i comment the spaghetti when i do
maintenance programming , the work of other programmers is always
commented with a block around it with who, why and when it was disabled .

I believe this is even a MSF rule ( Microsoft Solution`s Framework )

ever seen it from that side Cor ??? :-)

Groeten

Michel Posseth


"Cor Ligthert" <no************@planet.nl> wrote in message
news:eT*************@TK2MSFTNGP12.phx.gbl...
Silangdon,

Sometimes it is good to express what you think, however I am a person which try always to offer my other cheek, when I am hit on it. (No it connection
with your message)

:-)
I dont see the link between debugging and spaghetti code... it might
impair _your_ ability to write decent code but most of us have
designed our code long before we get round to debugging it.
Sometimes you don't know why those VB programs have so often more than
normal outcommented lines and than you think: "why?. Than when you know

that there is debug and continue it becomes clear.

However your question.
Tools --> Options -> Debugging --> Edit and Continue, the rest should be
obvious.

I hope this helps,

Cor


Nov 21 '05 #6
M,

When it are comments than it is (when needed) only a benefit

I am talking about old code with a ' before it, that was tried however did
not work.

And I don't say everybody does it, however many.

:-)

Cor
Nov 21 '05 #7
M,

I see now we are talking about the same.

I can tell you I don't like it, and see not any benefit from it

When it was a rule, there would be a doc tool in VB as it is in C# (and will
be in the next version from VBNet), Although it is not forced that it should
be used.

However this is my last row in this message thread, for me you are free to
do what you want, as long as you don't say that I have to do the same as
you.

Cor
Nov 21 '05 #8

Well curious as i am i looked for it and i must admit you are right :-)

it is clearly stating that old code should be removed ,,,,,

hmm i am learning every day something new

from now on i will remove that dead code :-) and will replace it with a
brief explanation of what the new code does



Comments
Software documentation exists in two forms, external and internal. External
documentation is maintained outside of the source code, such as
specifications, help files, and design documents. Internal documentation is
composed of comments that developers write within the source code at
development time.

One of the challenges of software documentation is ensuring that the
comments are maintained and updated in parallel with the source code.
Although properly commenting source code serves no purpose at run time, it
is invaluable to a developer who must maintain a particularly intricate or
cumbersome piece of software.

Following are recommended commenting techniques:

a.. When modifying code, always keep the commenting around it up to date.
b.. At the beginning of every routine, it is helpful to provide standard,
boilerplate comments, indicating the routine's purpose, assumptions, and
limitations. A boilerplate comment should be a brief introduction to
understand why the routine exists and what it can do.
c.. Avoid adding comments at the end of a line of code; end-line comments
make code more difficult to read. However, end-line comments are appropriate
when annotating variable declarations. In this case, align all end-line
comments at a common tab stop.
d.. Avoid using clutter comments, such as an entire line of asterisks.
Instead, use white space to separate comments from code.
e.. Avoid surrounding a block comment with a typographical frame. It may
look attractive, but it is difficult to maintain.
f.. Prior to deployment, remove all temporary or extraneous comments to
avoid confusion during future maintenance work.
g.. If you need comments to explain a complex section of code, examine the
code to determine if you should rewrite it. If at all possible, do not
document bad code-rewrite it. Although performance should not typically be
sacrificed to make the code simpler for human consumption, a balance must be
maintained between performance and maintainability.
h.. Use complete sentences when writing comments. Comments should clarify
the code, not add ambiguity.
i.. Comment as you code, because most likely there won't be time to do it
later. Also, should you get a chance to revisit code you've written, that
which is obvious today probably won't be obvious six weeks from now.
j.. Avoid the use of superfluous or inappropriate comments, such as
humorous sidebar remarks.
k.. Use comments to explain the intent of the code. They should not serve
as inline translations of the code.
l.. Comment anything that is not readily obvious in the code.
m.. To prevent recurring problems, always use comments on bug fixes and
work-around code, especially in a team environment.
n.. Use comments on code that consists of loops and logic branches. These
are key areas that will assist the reader when reading source code.
o.. Separate comments from comment delimiters with white space. Doing so
will make comments stand out and easier to locate when viewed without color
clues.
p.. Throughout the application, construct comments using a uniform style,
with consistent punctuation and structure.
Notes Despite the availability of external documentation, source code
listings should be able to stand on their own because hard-copy
documentation can be misplaced.
External documentation should consist of specifications, design documents,
change requests, bug history, and the coding standard that was used.

"Cor Ligthert" <no************@planet.nl> wrote in message
news:OU**************@TK2MSFTNGP09.phx.gbl...
M,

I see now we are talking about the same.

I can tell you I don't like it, and see not any benefit from it

When it was a rule, there would be a doc tool in VB as it is in C# (and will be in the next version from VBNet), Although it is not forced that it should be used.

However this is my last row in this message thread, for me you are free to do what you want, as long as you don't say that I have to do the same as
you.

Cor

Nov 21 '05 #9

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

Similar topics

6
by: Shai Levi | last post by:
Hi, I'm trying to migrate native c++ class to managed c++ class. The native class header definition looks as: class NativeClass { public: typedef void (CbFunc1)(int n,void* p);
3
by: David C | last post by:
Some screens of the web application simply do not respond to events period. Once you get to the screen, none of the buttons work. Does not respond to events period. After the first time it...
4
by: WayneM | last post by:
Is there a Edit and Continue capability in VB.NET yet? I realize it may not be the same as VB6, but I thought there was going to be some form of this? Thanks for any info, WayneM
5
by: Diane Yocom | last post by:
I'm using VS2005 and am trying to get Edit and Continue to work while debugging. I've gone to the Tools-Options-Debugging dialog box and made sure "Enable Edit and Continue" is checked, but when I...
22
by: Sri | last post by:
All Recenetly our shop migrated to DB2 V8 from V7. We are in IBM System Level: z/OS 1.6.1 @ RSU 0702. Processor : IBM 2064-1C7 (z/900) # 1B89 Mode: 64-bit One of my application is facing...
6
by: Gianluca Pezzoli | last post by:
I have used edit And Continue for months in Winforms applications with VS 2005 TeamEdition x Software Developers. I have windows vista with all updates. Also VS has all available updates. But...
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...
1
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and...
0
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The...
0
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
0
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated ...
0
muto222
php
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.

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.