I'm thinking about adding code to my application that would gather diagnostic information for later examination. Is there any C++ library created for such purpose? What I'm trying to do is similar to profiling, but it's not the same, because gathered data will be used more for debugging than profiling.
EDIT:
Platform: Linux
Diagnostic i...
We have recently deployed an ASP.Net application on Production server and are having some trouble with it in IE. We have built a custom security module based on cookies. The interesting part is, everything works perfect on staging server in all browsers and it also works on Production server but ONLY for Firefox. the process is able to w...
When python raise an exception in the middle of a pygtk signal handling callback, the exception is catched by the gtk main loop, its value printed and the main loop just continue, ignoring it.
If you want to debug, with something like pdb (python -m pdb myscript.py), you want that when the exception occure PDB jump on it and you can sta...
I am trying to fill in a combobox on my winform app from the database. I know there is info in the DB. I know the SP works. It returns the correct ColumnNames. But the DataSet itself is empty? Help!?!?
Call from my form-->
cboDiagnosisDescription.Properties.DataSource = myDiagnosis.RetrieveDiagnosisCodes();
The RetrieveDiagnosis...
Hi,
I have encountered an error while debugging a VB.Net application in Visual Studio 2008. While debugging the console application in Visual Studio, when the application instantiates a Crystal Reports 'ReportDocument' object, VS2008 hangs. Even when the devenv.exe process has been killed, I am unable to kill the still running vshost...
This Application has failed to start
because the application configuration
is incorrect. Reinstalling the
application may fix this problem.
This is what I get when i try my debug file on a system without visual studio installed.
I tried to copy the Debug_NonRedist\x86\Microsoft.VC90.DebugCRT in the same folder as my exe, wi...
Hi all,
I wish to minimize the output of my rpm build procedure.
I run the following command: rpmbuild -ba --quiet "/tmp/yaneeve/kit/linux/rpm_spec"
My system is: Linux yaneeve-lnx-82-5 2.4.21-47.ELsmp #1 SMP Wed Jul 5 20:38:41 EDT 2006 i686 i686 i386 GNU/Linux
The rpmbuild version is: RPM version 4.2.3
The %prep section of my rpm s...
I often find myself adding either concatonated strings or using a string formatter in my debug statements in log4net and log4j should I surround these debug statements with an "if debug" block to stop myself from wasting resources by processing these parameters even though the debug statement will not be printed out?
I would assume that...
Where Can I find info on advanced debugging using dbx on AIX,
by advance i mean debugging threaded applications that call your shared library.
and i do not own the threaded applications..
but thy call my functions from shared library(its like a plugin)..
...
I have regularly this issue under Visual 2005 or 2008 :
When I compile a bunch of DLLs (native C, C++, managed), sometimes, few of them don't link correctly with some microsoft debug DLLs. The output does not mention anything (no warning, no error). I can't be aware until I launch my program and get a "Module not found exception" withou...
We have some applications that sometimes get into a bad state, but only in production (of course!). While taking a heap dump can help to gather state information, it's often easier to use a remote debugger. Setting this up is easy -- one need only add this to his command line:
-Xdebug -Xrunjdwp:transport=dt_socket,server=y,suspend=n,a...
What are your opinions about what techniques should I use in the performance analysis and optimization of every application done in .NET technologies?
Also what kind of debugging/tracing techniques do you know that can be powerful?
Do you think that at large scale projects is necessary to have custom debugging/diagnostic classes?
Do you...
I've given up on the Delphi 7 debugger and am pretty much relying on outputdebugstrings. Is there a standard function I can call to get the contents of an object as a string like the debugger would if I set a breakpoint?
...
I know you can get the SQL, but it's paramterized without the parameters being visible. Can you get the "full" string, so to speak?
...
Hi All
Mole visualizer for WPF in Visual Studio is a great tool for debugging WPF apps. What I want to know is, is there a visualizer tool with Mole like functionality for general .Net debugging. I find the built in watch capabilities to be a little fidly.
Thanks
...
When I set a breakpoint (double click the border of the editor at a particular line), there are 3 colors:
1. blue
2. faded blue
3. yellow with blue border
can you please tell me what are the meaning of each color?
Thank you.
...
I have been succesfully debugging my asp.net site using the Visual Studio 2008 virtual server however all of a sudden it has started timing out when connecting to the debugger with the following message:
"Unable to start debugging on the web server. The web server did not respond in a timely manner. This may be because another debugger ...
Hi there,
Can anyone help, i have been succesfully testing with the built in tdd that ships with vs 2008. But now i wish to test my wcf... I added a default.aspx in the wcf service (you need to do this according the ms) ... now when i put a break point in my test.. and click the icon debug test in current context, all goes well ..,the t...
Does anybody know why, when using ruby-debug by calling debugger in a method called as a before_filter, the params and session hashes are not defined?
class MyExampleController < ActionController::Base
before_filter :test_hashes
def test_hashes
pp session
pp params #both work as expected..
debugger #calling the ...
Is this code:
System.Diagnostics.StackFrame stackFrame = new System.Diagnostics.StackFrame();
System.Reflection.MethodBase methodBase = stackFrame.GetMethod();
stackFrame.GetFileName();
stackFrame.GetFileLineNumber();
better for debugging compared to using a System.Diagnostics.StackTrace
...