Hi,
I'm interested in the alternatives to debugging C# other than Visual
Studio .NET
I have a large multi-threaded application, and I find that the
debugger that comes with Visual Studio .NET is not powerfu enough. Can
anyone direct me to different debuggers that would be better,
especially since the application is threaded?
TIA 7 1443
On Thu, 12 Jul 2007 11:43:58 -0700, phreaker <ph*******@hotm ail.comwrote:
I have a large multi-threaded application, and I find that the
debugger that comes with Visual Studio .NET is not powerfu enough. Can
anyone direct me to different debuggers that would be better,
especially since the application is threaded?
Visual Studio debugs multiple threads just fine. Other than its inability
to debug into kernel code, the VS debugger is one of the most, if not the
most, capable debuggers around.
If it's not suitable to your needs, you should be more specific about what
"not powerful enough" means.
Pete
Hi phreaker,
Have you ever heard about the sos.dll? http://www.robherbst.com/blog/2006/0...windbg-sosdll/
Regards, Alex Meleta
[TechBlog] http://devkids.blogspot.com
Hi,
I'm interested in the alternatives to debugging C# other than Visual
Studio .NET
I have a large multi-threaded application, and I find that the
debugger that comes with Visual Studio .NET is not powerfu enough. Can
anyone direct me to different debuggers that would be better,
especially since the application is threaded?
TIA
"phreaker" <ph*******@hotm ail.comwrote
I have a large multi-threaded application, and I find that the
debugger that comes with Visual Studio .NET is not powerfu enough. Can
anyone direct me to different debuggers that would be better,
especially since the application is threaded?
What features are you looking for that VS.Net doesn't provide?
I've been building very large, very heavily threaded applications for a
number of years now. In 99%+ of debugging cases, Visual Studio has been
sufficent for debugging.
If you're having alot of problems with race conditions, it's probably not
the debugger that's holding you back, but something else.
There are the usual things to try:
- Make sure all your threads have names that make sense. This makes using
the Threads Window alot easier.
- Leverage "Freeze" & "Thaw" alot.
Really validate your locking. If you're having race conditions, your locks
are probably specified at the wrong levels, or have the wrong scope.
--
Chris Mullins, MCSD.NET, MCPD:Enterprise , Microsoft C# MVP http://www.coversant.com/blogs/cmullins
Thanks, I looked into that, and it seems quite useful.
I think maybe what I'm looking more for is a profiler. I looked into
DevPartner Studio, and it looks quite complete. Anyone have any
opinions on how effective this software package is?
I mainly will be using this for determining which threads are taking
up which resources, and hopefully determine (with the help of the
software package) where in the code I should be optimizing.
Thanks,
David
On Fri, 13 Jul 2007 11:53:20 -0700, phreaker <ph*******@hotm ail.comwrote:
[...]
I mainly will be using this for determining which threads are taking
up which resources, and hopefully determine (with the help of the
software package) where in the code I should be optimizing.
A good profiler is worth it's weight in gold, no doubt.
But don't discount the usefulness of just sticking in some timing code
where you are suspicious of execution time. The Stopwatch class makes
this very easy, and you can get some easy, applicable data this way,
without all the complexity of a profiler (and without having to figure out
which one you like best :) ).
Pete
On Jul 13, 1:53 pm, phreaker <ph_rea...@hotm ail.comwrote:
Thanks, I looked into that, and it seems quite useful.
I think maybe what I'm looking more for is a profiler. I looked into
DevPartner Studio, and it looks quite complete. Anyone have any
opinions on how effective this software package is?
I mainly will be using this for determining which threads are taking
up which resources, and hopefully determine (with the help of the
software package) where in the code I should be optimizing.
Thanks,
David
Another profiler that I recently got an ad for is the Ant Profiler
from Red-Gate. I think they have a trial version you can download.
Chris
I think maybe what I'm looking more for is a profiler.
VS profiler is very good. I used it a few times and returned info were
good enough to locate time and resource consuming parts of the
applications.
--
OD___ www.e-naxos.com This thread has been closed and replies have been disabled. Please start a new discussion. Similar topics |
by: Tim Tyler |
last post by:
PHP has some pretty funky error messages:
"parse error, unexpected T_IF";
"Parse error: parse error, unexpected T_CONSTANT_ENCAPSED_STRING";
Humans often see these - shouldn't they be more human readable?
....and why are there no stack backtraces?
When a problem arises, I am often interested in knowing where the
|
by: Steven T. Hatton |
last post by:
Now that I have a better grasp of the scope and capabilities of the C++
Standard Library, I understand that products such as Qt actually provide
much of the same functionality through their own libraries. I'm not sure
if that's a good thing or not. AFAIK, most of Qt is compatable with the
Standard Library. That is, QLT can interoperate with STL, and you can
convert back and forth between std::string and Qt::QString, etc.
Are there any...
|
by: python |
last post by:
hello and thanks for reading this,
i have been a dos/windows user using some form of the basic language for 30 years now.
i own and run a small programming company and there is one feature that keeps me in the windows/basic world.
while i will agree that it has not evolved well, it does have one awesome feature that i have yet to see replicated in
any linux product that i know about so far.
i am a long time windows user and have had...
|
by: Dean R. Henderson |
last post by:
I have a project built for ASP.NET that recently started running really slow
in debug mode (it takes about 10 seconds or more to step from one line of
code to the next).
This just started recently and only impacts one ASP.NET project. I have
some other ASP.NET projects that I can step thru with the debugger with
almost instant response. I also have some Windows Forms projects that work
normally.
I am running Visual Studio 2003 and...
|
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 converted/developed with VB.NET.
What I want from debugging is to be able to step into the methods in
the DLLs called from ASP scripts using Visual Studio .NET.
Background:
For typical script debugging issues, you can read and follow the two
documents on...
| |
by: Maitre Bart |
last post by:
One said: "The more time you'll spend on designing your app, the less
you'll spend time debugging it." I agree with that, but chances are,
you'll still need to debug it anyway! And the larger the app, the
higher the chances, yours or not.
There are many books that teach C++, but not so many that teach how to
debug C++ apps. Like there are some "must read" for the first category,
I imagine there likely to exist some "must read" too for...
|
by: John Henry |
last post by:
I am back against the wall trying to migrate my multithreaded
application from Python 2.3 to 2.5. The part of the code that's
failing has to do with queues (2.3 queues and 2.5 queues are not the
same). Since WingIDE doesn't support multithread debugging (they've
been saying that one day they might support that - and that was 2003),
I am starting to look for alternatives.
debug under Eclipse/Pydev. I did a google search of this...
|
by: Davidhere40 |
last post by:
I'm having a hard time figuring out how to structure my development
environment for web services and a database. I have a remote server
with sql server 2005 on it. I'm building an application which uses
windows forms as web service clients and the web service acts as a
proxy to the database.
My problem is, how the hell do people normally set things up so that
to work with databases. Do they normally use one database for both
development...
|
by: phreaker |
last post by:
Hi,
I'm interested in the alternatives to debugging C# other than Visual
Studio .NET
I have a large multi-threaded application, and I find that the
debugger that comes with Visual Studio .NET is not powerfu enough. Can
anyone direct me to different debuggers that would be better,
especially since the application is threaded?
|
by: Spencer |
last post by:
Our Mainframe DBA insists that the IDTHTOIN parameter be set to 600
so
that all idle threads timeout after 10 minutes. This is causing a
particular packaged application that expects to hold idle threads
open
for as long as it wants problems. From an application standpoint
there is not an acceptable workaround that would allow the
application
to create connections dynamically at this point.
|
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, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look !
Part I. Meaning of...
| |
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 effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it.
First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
|
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, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed.
This is as boiled down as I can make it.
Here is my compilation command:
g++-12 -std=c++20 -Wnarrowing bit_field.cpp
Here is the code in...
|
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 Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
|
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 protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
|
by: isladogs |
last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM).
In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules.
He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms.
Adolph will...
|
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 last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols.
I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
| |
by: adsilva |
last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
|
by: bsmnconsultancy |
last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...
| |