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

2.0 debugging question

I'm a 1.1 developer learning 2.0. I have a book on 2.0 (Murachs upgraders
guide)...

It tells how to use the development server to test my asp.net apps ie. hit
F5 just like we did in 1.1 using IIS.

Then it tells all of the things you can't test using the development server
and says if you want to test using IIS create a virtual directory and then
just put the url into a browser and run your app.

There is something wrong here....

First it's easy to test in the first place with IIS so why use development
server at all.

I obviously want to use IIS all the time in testing like I did in 1.1 but
hitting F5 in 2.0 invokes the (crappy) development server. How can I invoke
IIS and be able to step- through code like I did in 1.1?

Thanks,
T
Jun 2 '06 #1
6 1266
first, click with the right mouse button over a file and set it up as Start
Page

then just press the green "PLAY" button "Start Debuging" or F5

you can use the BreakPoints to pause in a place, and putting the mouse over
a variable you will see it's value at runtime, like window forms.

if you just wanna run the page, just right click in a file and choose "View
in Browser"

--

Bruno Alexandre
(a Portuguese in Københanv, Danmark)
"Tina" <ti**********@nospammeexcite.com> escreveu na mensagem
news:O0**************@TK2MSFTNGP03.phx.gbl...
I'm a 1.1 developer learning 2.0. I have a book on 2.0 (Murachs upgraders
guide)...

It tells how to use the development server to test my asp.net apps ie. hit
F5 just like we did in 1.1 using IIS.

Then it tells all of the things you can't test using the development
server and says if you want to test using IIS create a virtual directory
and then just put the url into a browser and run your app.

There is something wrong here....

First it's easy to test in the first place with IIS so why use development
server at all.

I obviously want to use IIS all the time in testing like I did in 1.1 but
hitting F5 in 2.0 invokes the (crappy) development server. How can I
invoke IIS and be able to step- through code like I did in 1.1?

Thanks,
T

Jun 3 '06 #2
Uh, maybe you better read my question again Bruno :)
T

"Bruno Alexandre" <br*********@gmail.com> wrote in message
news:et**************@TK2MSFTNGP05.phx.gbl...
first, click with the right mouse button over a file and set it up as
Start Page

then just press the green "PLAY" button "Start Debuging" or F5

you can use the BreakPoints to pause in a place, and putting the mouse
over a variable you will see it's value at runtime, like window forms.

if you just wanna run the page, just right click in a file and choose
"View in Browser"

--

Bruno Alexandre
(a Portuguese in Københanv, Danmark)
"Tina" <ti**********@nospammeexcite.com> escreveu na mensagem
news:O0**************@TK2MSFTNGP03.phx.gbl...
I'm a 1.1 developer learning 2.0. I have a book on 2.0 (Murachs
upgraders guide)...

It tells how to use the development server to test my asp.net apps ie.
hit F5 just like we did in 1.1 using IIS.

Then it tells all of the things you can't test using the development
server and says if you want to test using IIS create a virtual directory
and then just put the url into a browser and run your app.

There is something wrong here....

First it's easy to test in the first place with IIS so why use
development server at all.

I obviously want to use IIS all the time in testing like I did in 1.1 but
hitting F5 in 2.0 invokes the (crappy) development server. How can I
invoke IIS and be able to step- through code like I did in 1.1?

Thanks,
T


Jun 3 '06 #3
Hi Tina,

What I usually do to debug a page is open a browser and go to the page.
Then in VS go to debug -> attach to process (ctrl + alt + p) and select
aspnet_wp.exe. Then refresh the page.

I did this all the time in 1.1 because I didn't like how F5 worked. In
2.0 this might still start the development server, but you don't need to
use it. The initial page load is to get asp.net started and may not be
necessary once it is running.
--
David Hogue
Tina wrote:
I'm a 1.1 developer learning 2.0. I have a book on 2.0 (Murachs upgraders
guide)...

It tells how to use the development server to test my asp.net apps ie. hit
F5 just like we did in 1.1 using IIS.

Then it tells all of the things you can't test using the development server
and says if you want to test using IIS create a virtual directory and then
just put the url into a browser and run your app.

There is something wrong here....

First it's easy to test in the first place with IIS so why use development
server at all.

I obviously want to use IIS all the time in testing like I did in 1.1 but
hitting F5 in 2.0 invokes the (crappy) development server. How can I invoke
IIS and be able to step- through code like I did in 1.1?

Thanks,
T

Jun 3 '06 #4
Tina,
All this stuff is in the MSDN Documentation for VS.NET 2005.
If you right click on a Web Site project in your solution, and choose
Properties,
there is a "Web" tab. In that, you can choose the environment (File-based,
Dev server, or IIS) and you can even create the IIS Vroot.
Peter

--
Co-founder, Eggheadcafe.com developer portal:
http://www.eggheadcafe.com
UnBlog:
http://petesbloggerama.blogspot.com


"Tina" wrote:
I'm a 1.1 developer learning 2.0. I have a book on 2.0 (Murachs upgraders
guide)...

It tells how to use the development server to test my asp.net apps ie. hit
F5 just like we did in 1.1 using IIS.

Then it tells all of the things you can't test using the development server
and says if you want to test using IIS create a virtual directory and then
just put the url into a browser and run your app.

There is something wrong here....

First it's easy to test in the first place with IIS so why use development
server at all.

I obviously want to use IIS all the time in testing like I did in 1.1 but
hitting F5 in 2.0 invokes the (crappy) development server. How can I invoke
IIS and be able to step- through code like I did in 1.1?

Thanks,
T

Jun 3 '06 #5
Peter,
When I right click on my 2.0 web site I see a "Property Pages" selection and
when I choose it I get a dialog box with a treeview (no tabs) and there is
nothing I can find there regarding IIS or file based debugging.

I'm sure your comment that "it's in the docs" is true but the holy grail
with ms docs has always been to find it. I just gave it 20 minutes
searching "debugging" with vs.2005 as the selection - lots of stuff on JIT
debugging and other such subjects but nothing on this subject. Google does a
better job but it would still take an hour to pick it out.

How do I get the dialog with the "Web" tab that you refer to?

Regards,
T


"Peter Bromberg [C# MVP]" <pb*******@yahoo.nospammin.com> wrote in message
news:28**********************************@microsof t.com...
Tina,
All this stuff is in the MSDN Documentation for VS.NET 2005.
If you right click on a Web Site project in your solution, and choose
Properties,
there is a "Web" tab. In that, you can choose the environment
(File-based,
Dev server, or IIS) and you can even create the IIS Vroot.
Peter

--
Co-founder, Eggheadcafe.com developer portal:
http://www.eggheadcafe.com
UnBlog:
http://petesbloggerama.blogspot.com


"Tina" wrote:
I'm a 1.1 developer learning 2.0. I have a book on 2.0 (Murachs
upgraders
guide)...

It tells how to use the development server to test my asp.net apps ie.
hit
F5 just like we did in 1.1 using IIS.

Then it tells all of the things you can't test using the development
server
and says if you want to test using IIS create a virtual directory and
then
just put the url into a browser and run your app.

There is something wrong here....

First it's easy to test in the first place with IIS so why use
development
server at all.

I obviously want to use IIS all the time in testing like I did in 1.1 but
hitting F5 in 2.0 invokes the (crappy) development server. How can I
invoke
IIS and be able to step- through code like I did in 1.1?

Thanks,
T

Jun 3 '06 #6
Tina,
My applogies. I should have stated "Web Applcation".

If you don't have the add-in, you can download it here:

http://msdn.microsoft.com/asp.net/re...p/default.aspx

I find it preferable to the original "Web Site" project that shipped with
the product; it looks acts and feels just like the original 2003 style
projects.

Peter

--
Co-founder, Eggheadcafe.com developer portal:
http://www.eggheadcafe.com
UnBlog:
http://petesbloggerama.blogspot.com


"Tina" wrote:
I'm a 1.1 developer learning 2.0. I have a book on 2.0 (Murachs upgraders
guide)...

It tells how to use the development server to test my asp.net apps ie. hit
F5 just like we did in 1.1 using IIS.

Then it tells all of the things you can't test using the development server
and says if you want to test using IIS create a virtual directory and then
just put the url into a browser and run your app.

There is something wrong here....

First it's easy to test in the first place with IIS so why use development
server at all.

I obviously want to use IIS all the time in testing like I did in 1.1 but
hitting F5 in 2.0 invokes the (crappy) development server. How can I invoke
IIS and be able to step- through code like I did in 1.1?

Thanks,
T

Jun 4 '06 #7

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

Similar topics

2
by: Steve Anderson | last post by:
Please excuse my ignorance as I'm fairly new to ASP. We have IIS running on Win2000 and serving out an ASP application. I installed the script debugger tonight. IE6 on the machine has Disable...
5
by: Bob Bamberg | last post by:
Hello All, I have been trying without luck to get some information on debugging the Runtime Error R6025 - Pure Virtual Function Call. I am working in C++ and have only one class that is derived...
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...
7
by: Frank | last post by:
I'm running a mixed ASP / ASP.NET environment. I can use the debugger in for the ASP.NET code, no problems. But when I turn on ASP Debugging for the project, I get the error message: "Error...
2
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...
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...
0
by: Günter Prossliner | last post by:
Hi everybody! The same question I have asked about one week ago in the german asp.net newsgroup, but no one was able to answer the question. Maybe someone is able to in this group! I...
8
by: razael1 | last post by:
I am putting debugging messages into my program by putting blocks that look like this: #ifdef DEBUG errlog << "Here is some information"; #endif All these #ifdef blocks make the code bulky and...
5
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...
0
by: Peted | last post by:
I suspect there is a better forum for this question, but i couldnt find it. If someone could point me in the right direction or help me with this question it would be muchly appreciated I have...
0
by: DolphinDB | last post by:
The formulas of 101 quantitative trading alphas used by WorldQuant were presented in the paper 101 Formulaic Alphas. However, some formulas are complex, leading to challenges in calculation. Take...
0
by: DolphinDB | last post by:
Tired of spending countless mintues downsampling your data? Look no further! In this article, you’ll learn how to efficiently downsample 6.48 billion high-frequency records to 61 million...
0
by: ryjfgjl | last post by:
ExcelToDatabase: batch import excel into database automatically...
0
by: jfyes | last post by:
As a hardware engineer, after seeing that CEIWEI recently released a new tool for Modbus RTU Over TCP/UDP filtering and monitoring, I actively went to its official website to take a look. It turned...
0
by: ArrayDB | last post by:
The error message I've encountered is; ERROR:root:Error generating model response: exception: access violation writing 0x0000000000005140, which seems to be indicative of an access violation...
0
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...
0
by: Shællîpôpï 09 | last post by:
If u are using a keypad phone, how do u turn on JavaScript, to access features like WhatsApp, Facebook, Instagram....
0
by: af34tf | last post by:
Hi Guys, I have a domain whose name is BytesLimited.com, and I want to sell it. Does anyone know about platforms that allow me to list my domain in auction for free. Thank you
0
by: Faith0G | last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...

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.