Hi everyone, i'm workin with vb.net 2003 and i using the debug step into, but
when i call a form within another the debugger doesn't go to the form that i
call, how do i solve this, without putting a breakpoint.
SC. 5 2365
"SC" <SC@discussions.microsoft.comschrieb
Hi everyone, i'm workin with vb.net 2003 and i using the debug step
into, but when i call a form within another the debugger doesn't go
to the form that i call, how do i solve this, without putting a
breakpoint.
Debug into what? Which method of the Form do you call?
Armin
i just want to debug step by step in a form, but when i call some other form
with the sentence:
form.ShowDialog()
the debug cursor doesn't navigate to that form, i mean only when i exit that
form the debugger starts again.
--
Saludos,
SC
"Armin Zingler" wrote:
"SC" <SC@discussions.microsoft.comschrieb
Hi everyone, i'm workin with vb.net 2003 and i using the debug step
into, but when i call a form within another the debugger doesn't go
to the form that i call, how do i solve this, without putting a
breakpoint.
Debug into what? Which method of the Form do you call?
Armin
"Sergio Cifuentes" <Se*************@discussions.microsoft.comschrie b
i just want to debug step by step in a form, but when i call some
other form with the sentence:
form.ShowDialog()
the debug cursor doesn't navigate to that form,
ShowDialog does not belong to your source code, hence the debugger can not
step into it. You could only step into the disassembly, but the method is
part of the Framework and not of your project.
The debugger can only stop at executable lines. In which line do you want it
to stop?
i mean only when i
exit that form the debugger starts again.
Armin
Thanks Armin, what i want is to follow all the program logic since the error
is in logic, i guess i'll have to put some breakpoints isn't it?
the error is in the second form, my first form is a login form, so if i
debug with the step into i only debug my login form, and what i want is to
debug the second form.
--
Saludos,
Sergio Cifuentes
"Armin Zingler" wrote:
"Sergio Cifuentes" <Se*************@discussions.microsoft.comschrie b
i just want to debug step by step in a form, but when i call some
other form with the sentence:
form.ShowDialog()
the debug cursor doesn't navigate to that form,
ShowDialog does not belong to your source code, hence the debugger can not
step into it. You could only step into the disassembly, but the method is
part of the Framework and not of your project.
The debugger can only stop at executable lines. In which line do you want it
to stop?
i mean only when i
exit that form the debugger starts again.
Armin
"Sergio Cifuentes" <Se*************@discussions.microsoft.comschrie b
Thanks Armin, what i want is to follow all the program logic since
the error is in logic, i guess i'll have to put some breakpoints
isn't it?
the error is in the second form, my first form is a login form, so
if i debug with the step into i only debug my login form, and what i
want is to debug the second form.
Unfortunately, in VB 2003, you have to set breakpoints.
In VB 2005, you can set a breakpoint at ShowDialog. Then, when you press F8
(or whatever key is single step in your IDE), the IDE stops at any source
code line that is first executed in the Form.
Armin This thread has been closed and replies have been disabled. Please start a new discussion. Similar topics
by: aaj |
last post by:
Hi all
I have written a small app on my machine that I have passed on to a
colleague for testing.
The problem is, as soon as he steps through in debug mode and reaches
try
{
conn.Open();...
|
by: VicVic |
last post by:
Dear Great Experts,
I have a problem and need your help!
We have a Flat DLL built in C++ (CCC), and on top of it, we built another
DLL built in C# (SSS), which has .Net Assembly. CCC was...
|
by: jim |
last post by:
I am trying to debug a user written web control and web control designer. I
found an article “Building Windows Forms Controls and Component with Rich
Design-Time Features” that describes how...
|
by: Rob R. Ainscough |
last post by:
I've created several DLL's that I use in other projects. I "Add Reference"
to these other projects pointing to my DLL. Probelm is, I can't seem to be
able to step into my DLL code (from these...
|
by: ahawk |
last post by:
Hi, All,
I'm a beginner of Vb.net. My solution(A) has reference
another object (solution B), so when I debug( trace) my
program step by step, the system opens the class code of
solution B. My...
|
by: Steve Le Monnier |
last post by:
I've just noticed that the menu items available in Visual Studio 2005 for
the Debug and Build menus differ significantly when compared to the menu
items in Visual Studio 2003.
On my C#...
|
by: =?Utf-8?B?Sm9obiBT?= |
last post by:
Hi,
I'm trying to follow Lab1 of the WF Hands On Labs.
Having created the project and set a breakpoint as per instructions, I press
F5 to compile and run the project. The instructions say...
|
by: desktop |
last post by:
When I write code I use a lot of:
std::cout << "TEST1\n";
....
....
<some code>
....
....
|
by: Charles Arthur |
last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
|
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...
|
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...
|
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...
|
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...
|
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,...
|
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,...
|
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: tracyyun |
last post by:
Dear forum friends,
With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
| |