Hi everyone,
I have a DLL and a console app I'm using together, both created in VB
..Net. I've added both projects to a Visual Studio solution, and have a
breakpoint set on my console app, where it calls a public method on one of
the dll's objects.
When I reach my console app's breakpoint and hit F11 to "step into" the
dll method, I just skip to the next line of the console app. That is,
unless I have a breakpoint set on the dll's method.
Is that behavior by design, or can I arrange things so that I don't need to
set breakpoints in ancillary projects when debugging my main app? Thanks
for helping me clear this up.
-Jim 3 1463
Did you set a reference to the project or the file dll? If you set it to the
file reference, this is the behavior you can expect.
Steve
"Jim Bancroft" <bo********@nowhere.com> wrote in message
news:et**************@tk2msftngp13.phx.gbl... Hi everyone,
I have a DLL and a console app I'm using together, both created in VB .Net. I've added both projects to a Visual Studio solution, and have a breakpoint set on my console app, where it calls a public method on one of the dll's objects.
When I reach my console app's breakpoint and hit F11 to "step into" the dll method, I just skip to the next line of the console app. That is, unless I have a breakpoint set on the dll's method.
Is that behavior by design, or can I arrange things so that I don't need
to set breakpoints in ancillary projects when debugging my main app? Thanks for helping me clear this up.
-Jim
Hi Steve,
Well, you're right in that I did set a reference to the file dll originally.
But I'm not quite sure how to set a reference to the project, instead of the
file-- when adding references this time I clicked the "Project" tab (I
removed my file reference first), and sure enough my dll project was right
there. I selected it, am now using it, but the problem remains.
I must be doing something wrong-- maybe I didn't pick the "project"
reference correctly? In case you hadn't guessed, I'm somewhat new to
multi-project debugging in .Net.
-Jim
"Steve Long" <St**********@NoSpam.com> wrote in message
news:eg*************@TK2MSFTNGP10.phx.gbl... Did you set a reference to the project or the file dll? If you set it to
the file reference, this is the behavior you can expect.
Steve
"Jim Bancroft" <bo********@nowhere.com> wrote in message news:et**************@tk2msftngp13.phx.gbl... Hi everyone,
I have a DLL and a console app I'm using together, both created in
VB .Net. I've added both projects to a Visual Studio solution, and have a breakpoint set on my console app, where it calls a public method on one
of the dll's objects.
When I reach my console app's breakpoint and hit F11 to "step into"
the dll method, I just skip to the next line of the console app. That is, unless I have a breakpoint set on the dll's method.
Is that behavior by design, or can I arrange things so that I don't need to set breakpoints in ancillary projects when debugging my main app?
Thanks for helping me clear this up.
-Jim
Well, I'm not sure which layout you are using in your IDE, I have the VB
developer selected so when I hit F8, it steps into. However, you probably
left it as default so F11 is probably step into.
Nowever, if you remove the reference to the file dll and then add the
reference to the project dll, that should work. Sometimes you have to close
down the IDE and reopen it for things to work right. I don't know why that
is. NTL, if you put a break point in your dll project, you should be able to
step into it just fine.
Steve
"Jim Bancroft" <bo********@nowhere.com> wrote in message
news:Ok**************@TK2MSFTNGP10.phx.gbl... Hi Steve,
Well, you're right in that I did set a reference to the file dll
originally. But I'm not quite sure how to set a reference to the project, instead of
the file-- when adding references this time I clicked the "Project" tab (I removed my file reference first), and sure enough my dll project was right there. I selected it, am now using it, but the problem remains.
I must be doing something wrong-- maybe I didn't pick the "project" reference correctly? In case you hadn't guessed, I'm somewhat new to multi-project debugging in .Net.
-Jim
"Steve Long" <St**********@NoSpam.com> wrote in message news:eg*************@TK2MSFTNGP10.phx.gbl... Did you set a reference to the project or the file dll? If you set it to the file reference, this is the behavior you can expect.
Steve
"Jim Bancroft" <bo********@nowhere.com> wrote in message news:et**************@tk2msftngp13.phx.gbl... Hi everyone,
I have a DLL and a console app I'm using together, both created in VB .Net. I've added both projects to a Visual Studio solution, and have
a breakpoint set on my console app, where it calls a public method on
one of the dll's objects.
When I reach my console app's breakpoint and hit F11 to "step into" the dll method, I just skip to the next line of the console app. That
is, unless I have a breakpoint set on the dll's method.
Is that behavior by design, or can I arrange things so that I don't
need to set breakpoints in ancillary projects when debugging my main app? Thanks for helping me clear this up.
-Jim
This thread has been closed and replies have been disabled. Please start a new discussion. Similar topics
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...
|
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...
|
by: Andy Fish |
last post by:
Hi,
Using VS.NET 2003, when I use 'F5' to start debugging my web app, it
obviously attaches the IDE to IIS for server debugging. However, it also
seems to put IE into some kind of debugging mode...
|
by: Alex Clark |
last post by:
Hi All,
My system:
WinXP Pro, VS.NET 2003, SQL Server Personal Edition.
I'm having problems with my old favourite demon, SQL Debugging from within
VS.NET. I have to say I've found this...
|
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...
|
by: KevinGPO |
last post by:
I am currently developing a website in ASP (VBScript) using MS Visual C#.NET
IDE. I just create a new "ASP.NET Web Application" and point to my local
webserver (IIS) of my website address. Then I...
|
by: phnimx |
last post by:
Hi ,
We have developed a number of plug-in .NET Library Components that we
typically deploy with our various applications by installing them into the
GAC.
Each of the applications contains an...
|
by: =?Utf-8?B?Z2FkeWE=?= |
last post by:
I can't get to debug on my local IIS using VStudio.net 2005 Prof. I can on
the development server. I get the msg 'the server does not support debugging
for asp.net...'
I have done the following...
|
by: jwwicks |
last post by:
C/C++ Programs and Debugging in Linux
This tutorial will give you a basic idea how to debug a program in Linux using GDB. As you are aware Visual Studio doesn’t run on Linux so you have to use...
|
by: =?Utf-8?B?TWlrZSBHYWxl?= |
last post by:
VS 2008 initially didn't debug classic ASP.
SP1 fixes this in some ways. You can debug if you select the debug option
to "Start Without Debugging, then either attach the debugger manually or...
|
by: CloudSolutions |
last post by:
Introduction:
For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
|
by: ryjfgjl |
last post by:
In our work, we often need to import Excel data into databases (such as MySQL, SQL Server, Oracle) for data analysis and processing. Usually, we use database tools like Navicat or the Excel import...
|
by: Charles Arthur |
last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
|
by: aa123db |
last post by:
Variable and constants
Use var or let for variables and const fror constants.
Var foo ='bar';
Let foo ='bar';const baz ='bar';
Functions
function $name$ ($parameters$) {
}
...
|
by: ryjfgjl |
last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
|
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: nemocccc |
last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
|
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...
| |