..NET 2.0
I'm working on 3 projects in VS2005:
- a windows application project
- dll library project
- windows service
This works like this:
The window form call some methods in the dll library project (.net remoting)
which again calls the actual objects running in the windows service...
I have 3 VS2005 open on my pc, one for each of these projects
Now I've tested some functionality on form and it doesn't work. It is
supposed to send info over to the windows service so it can updated a table
in the database...
I've rebuilt the dll library project and installed it.... while target was
set to Debug, should I change it to Release or?
And how should I debug this.??
Any suggestions are most welcome!
Jeff 5 2459
Hi,
"Jeff" <do***@spam.mewrote in message
news:Oo**************@TK2MSFTNGP04.phx.gbl...
.NET 2.0
I'm working on 3 projects in VS2005:
- a windows application project
- dll library project
- windows service
This works like this:
The window form call some methods in the dll library project (.net
remoting) which again calls the actual objects running in the windows
service...
I have 3 VS2005 open on my pc, one for each of these projects
You do not need 3 VS, as a matter of fact you need only two, one for each
executable. Debugging the service could be a little tricky, I do not know
any way to debug the onStart method of it. What I do is start the service
from the services panel and then use Debug/Attach to process to debug the
running of the project.
On Jul 11, 7:56 am, "Ignacio Machin \( .NET/ C# MVP \)" <machin TA
laceupsolutions.comwrote:
Hi,
"Jeff" <d...@spam.mewrote in message
news:Oo**************@TK2MSFTNGP04.phx.gbl...
.NET 2.0
I'm working on 3 projects in VS2005:
- a windows application project
- dll library project
- windows service
This works like this:
The window form call some methods in the dll library project (.net
remoting) which again calls the actual objects running in the windows
service...
I have 3 VS2005 open on my pc, one for each of these projects
You do not need 3 VS, as a matter of fact you need only two, one for each
executable. Debugging the service could be a little tricky, I do not know
any way to debug the onStart method of it. What I do is start the service
from the services panel and then use Debug/Attach to process to debug the
running of the project.
I've resorted to a hack to debut OnStart before. I simply put a
Thread.Sleep for about 10 seconds, enough time for me to attach the
debugger.
Chris
Hi,
"Chris Dunaway" <du******@gmail.comwrote in message
news:11**********************@m3g2000hsh.googlegro ups.com...
On Jul 11, 7:56 am, "Ignacio Machin \( .NET/ C# MVP \)" <machin TA
laceupsolutions.comwrote:
>Hi,
"Jeff" <d...@spam.mewrote in message
news:Oo**************@TK2MSFTNGP04.phx.gbl...
.NET 2.0
I'm working on 3 projects in VS2005:
- a windows application project
- dll library project
- windows service
This works like this:
The window form call some methods in the dll library project (.net
remoting) which again calls the actual objects running in the windows
service...
I have 3 VS2005 open on my pc, one for each of these projects
You do not need 3 VS, as a matter of fact you need only two, one for each executable. Debugging the service could be a little tricky, I do not know any way to debug the onStart method of it. What I do is start the service from the services panel and then use Debug/Attach to process to debug the running of the project.
I've resorted to a hack to debut OnStart before. I simply put a
Thread.Sleep for about 10 seconds, enough time for me to attach the
debugger.
Nice, but you have to be fast, otherwise you will lose it. Also you might
forget to remove it when moved into production.
I do something similar, My OnStart just spraw a thread and then inside I do
all the work, in this case the OnStart has NO code at all.
<"Ignacio Machin \( .NET/ C# MVP \)" <machin TA laceupsolutions.com>>
wrote:
<snip>
I do something similar, My OnStart just spraw a thread and then inside I do
all the work, in this case the OnStart has NO code at all.
How do you manage to spawn a thread without having any code at all?
;)
--
Jon Skeet - <sk***@pobox.com> http://www.pobox.com/~skeet Blog: http://www.msmvps.com/jon.skeet
If replying to the group, please do not mail me too
"Jon Skeet [C# MVP]" <sk***@pobox.comwrote in message
news:MP*********************@msnews.microsoft.com. ..
<"Ignacio Machin \( .NET/ C# MVP \)" <machin TA laceupsolutions.com>>
wrote:
<snip>
>I do something similar, My OnStart just spraw a thread and then inside I do all the work, in this case the OnStart has NO code at all.
How do you manage to spawn a thread without having any code at all?
;)
I talk to it nicely :D This thread has been closed and replies have been disabled. Please start a new discussion. Similar topics
by: Davy |
last post by:
Hi all,
I use VC and gcc/gdb to compile and debug C/C++ files. But I found some
of the debug version of the compiled files are too large to be run in a
small RAM. Can I compile C/C++ Debug...
|
by: emma middlebrook |
last post by:
I have a question regarding asserting ... here's some code:
string GetAssertMessage()
{
... prepare a message string and return it...
}
void SomeMethod()
{
...
|
by: John Smith |
last post by:
After reading C# documentation the Conditional attribute seemed the way to
go, but after inspecting the IL it seems those methods are still there and I
imagine the CLR removes them. Using #if DEBUG...
|
by: Wysiwyg |
last post by:
Is there any way besides adding a specific debug command line argument for
the project to tell if an application is running in debug mode?
Thanks!
Bill
|
by: nospam |
last post by:
All the documentation says that leaving an ASP.NET application in debug
mode has a big performance hit. I can't detect any difference between
debug and non-debug modes. Am I missing something or is...
|
by: dee |
last post by:
Hi
I'm about to upload my site and I have switched to release version. Is that
enough or do I still need to disable
<compilation defaultLanguage="vb" debug="true" />
the debug="true" in the .pdb...
|
by: André |
last post by:
Hi,
I put that question already, but it's still not very clear to me, so ...
Assume following option in web.config=
debug="false"
but in one aspx page (test.aspx)
<%@ debug="true" ..%>
|
by: Andrew Rowley |
last post by:
I am having trouble getting debug and release builds to work properly
with project references using C++ .NET and Visual Studio 2003.
I created a test solution, with a basic Windows form C++...
|
by: rorni |
last post by:
Hi,
I'm porting code from Windows to HP-UX 11, compiling with g++.
I'm getting a compilation error on the system's debug.h include file, which is included very indirectly through a series of...
|
by: Alexander Vasilevsky |
last post by:
Hi!
How to debug Powershell commandlets?
--
http://www.alvas.net - Audio tools for C# and VB.Net developers
|
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: 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
|
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: 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: 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: 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...
|
by: agi2029 |
last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...
| |