Is there some way to make the Watch window display all inherited properties and fields in one long flat list, rather than hidden behind a nested "base" node?
I'm debugging some C# code that makes massive use of inheritance - some of the properties I want to watch are behind three levels of "base" in the Watch window. This would be more ...
I have a 3rd party source code that I have to investigate. I want to see in what order the functions are called but I don't want to waste my time typing:
printf("Entered into %s", __FUNCTION__)
and
printf("Exited from %s", __FUNCTION__)
for each function, nor do I want to touch any source file.
Do you have any suggestions? Is ther...
When attaching the debugger in an IDE (IntelliJ or Eclipse) to a JVM running in another continent (london to new york) the lag is unbearable. I've waited in excess of 10 minutes for IntelliJ to populate my stackframes and fill out objects before giving up when hitting a breakpoint. (note: ive never seen a fully populate debug state when ...
I usually run a dual-monitor setup, so I have two Eclipse windows open for the same workspace, displaying different files. When I'm debugging and a breakpoint is hit, Eclipse switches to the "Debug" perspective, but it also shows the file/line where the breakpoint is in both of my windows. This occurs even if the file containing the brea...
I am looking for a way to debug compiled assemblies from Visual Studio.
Is it possible? Maybe using some kind of reflector add-in?
I am not looking for a way to decompile/recompile and then debug.
...
We are getting the above error when we try and run our tests in debug mode.
We have a .net solution written in C#, which we have developed using Visual Studio 2008 on Windows XP.
We have now got new machines :). Windows 7 64 bit.
The solution has several wcf host and web services host, it also runs some windows workflows.
It appears ...
I've been working on a popup window that interacts with the window.opener. I found a specific problem with IE not working when trying to append an object. I've set up a demo page here.
Basically what the demo does is opens a popup window with a button. It is intended to highlight portions of the page as I described in my previous questi...
Is it possible for a web project built on .NET framework 4.0 step into a project built on .NET framework 2? If so, how would I set this up?
These 2 projects are in different solutions. When I do a "Go to definition" from the web project, it opens up the metadata. In debug mode, the debugger never "steps into" the method.
...
Do you prefer #ifdef _DEBUG or #ifndef NDEBUG to specify debug sections of code? Is there a better way to do it? e.g. #define MY_DEBUG.
I think _DEBUG is Visual Studio specific, is NDEBUG standard?
...
Hi,
I have created a custom SharePoint web service that was deployed to, and successfully tested on, a test environment. Unfortunately, the web service has since stopped working, and I am trying to determine what the error is.
The web service now returns the following error in the SOAP response:
SOAP:server
Server was unable to proce...
I want to use the MallocDebug app to find some memory leaks in my app. I'm running Mac OS X 10.6.2. Whenever I try and following the instructions listed in this guide, I get the following error:
dyld: could not load inserted library: /usr/lib/libMallocDebug.A.dylib
Trace/BPT trap
I have verified that the .dylib file exists, and I get...
In Visual Studio 2008, when i click on Debug > Start Without Debugging (or CTRL + F5) happens the same thing as if I clicked on Test > Run > Tests in Current Context / All Tests in Solution
After few attempts of fixing, now every time I run project I get this warning:
"Executing the current test run will
produce a new test run res...
We have made a .net C# applications and want to test the performance.
What are good tools to test performance ?
Something to record the flow through the application and can play it later again
something like a stress tool
And what are the best options to debug the application for performance ?
So that we can see how long a class/method...
I want to set breakpoint on certain line in C# code
when some other variable is equal to specific value
say MyStringVariable == "LKOH"
Please suggest. I tried right click on breakpoint icon->Condition
then typed MyStringVariable == "LKOH" and Visual Studio is saying cannot evalute.
...
Hi all,
I'm working on quite complex project and time after time I have to narrow down problems looking at stack traces. They happen to be very long and involve “my” code, standard library code and 3rd party libraries code at same time. Most of time the real problem is in “my” code and locating it instantly in a stack trace is a bit har...
Given a C++/gpl toolchain, what's a good method or tool to puzzle out linker errors?
...
I'm working with a managed exe that crashes immediately when run. Usually I'd expect a dialog which allows an option to launch the debugger but no such luck in this case. Also, the program crashes too quickly for me to use attach to process in VS.
...
I have a WCF service and a web application that both need to be hosted in local IIS virtual directories. I start up the WCF project and then when I try to debug the web app at the same time a popup tells me "Unable to start debugging on the web server. Unable to do an AutoAttach." The same problem happens if I try to manually attach to a...
Most debuggers have a watch function but I find it's kind of useless. I want something like "break on write" so I can tell where my data goes awry.
I work in php, python, javascript. A feature like this would be handy in every language.
Maybe the watch functions of most modern debuggers have this tucked away somewhere and I'm not awar...
I have a Java Struts app in Eclipse and I'm looking for a way to see the values of request and session's variables (as the NetBeans display them), when running the app on Tomcat.
For some reason, the "Variable View" in debuggin mode is always empty, no way to fill it with variables I need to follow. Internal or external browser, no diff...