Hi.
Our J2ee server (which will remain nameless for embarrassment reasons) slows down drastically from time to time. I have managed to create a thread dump. And trying to analyze it. One of the things that I don't understand is some waiting on locks without finding the locking thread. Here is part of the stack trace of such thread:
wait...
Hi,
I'm moving from Windows CE 6 to Windows Embedded Standard 7 for a project and am wondering how remote debugging of .Net apps works with Windows Embedded target devices. In CE with VS2008 and ActiveSync (USB), I can hit F5 and my app is automatically deployed to the target device and executed so I can step through my breakpoints jus...
He Geeks
When i attach to the w3wp.exe process in visualStudio this is mark inactive (gray).
why a process can be inactivated ?
thx
...
I have a VB6 dll that is loaded by a VB6 frontend. This VB6 dll calls a C++ ATL dll via its COM interface. So, I can run from code in VB6 and I can debug in C++ also, however I can't seem to step through the VB6 code and then get into the C++ code. I feel that this should be possible. Currently I am doing the following steps
Start VB6 ...
How do I inspect the return value of this GetItems() function using the debugger? Do I have to create a local variable for the results to accomplish this?
foreach (string item in GetItems())
{
// some code
}
private List<string> GetItems()
{
// return some list
}
...
I've written a simple class for debugging and I call the method Debugger.WriteLine(...) in my code like this:
Debugger.WriteLine("[Draw]", "InProgress",
"[x,y] = " + x.ToString("0.00") +
", " + y.ToString("0.00") +
"; pos = " + lastPosX.ToString() + "x" +
lastPosY.ToString() + " -> " + posX.ToString() +
"x" + pos...
I have a Google Web Toolkit application that I am deploying to Google App Engine. In the deployed application, I am getting a JavaScript error Uncaught TypeError: Cannot read property 'f' of null. This sounds like the JavaScript equivalent of a Java NullPointerException.
The problem is that the GWT JavaScript is obfuscated, so it's impo...
I was debugging my project, at some point I also need to debug dll file.
What I did, I locate source code file and open it and all thing went well.
But now, when I reach at the same point dll file automatically open.
How could I avoid this situation? it annoy me.
...
I'm trying to debug a C++ program compiled with GCC that freezes at startup. GCC mutex protects function's static local variables, and it appears that waiting to acquire such a lock is why it freezes. How this happens is rather confusing. First module A's static initialization occurs (there are __static_init functions GCC invokes that ar...
I ran the code to create the generically related objects from this demo:
http://www.djangoproject.com/documentation/models/generic_relations/
Everything is good intially:
>>> bacon.tags.create(tag="fatty")
<TaggedItem: fatty>
>>> tag, newtag = bacon.tags.get_or_create(tag="fatty")
>>> tag
<TaggedItem: fatty>
>>> newtag
False
But then...
I don't like debugging in a debugger, because I think it is often below the abstraction layer of the programming language and it is often not reproducible. I favor using unit tests when possible and I think they are a good way, but it is not always that easy to implement them. Do you know about any other alternative approaches to avoid t...
I'm making a c++ library thats going to be P/Invoked from c#, so i am unable to breakpoint/debug the c++ side of things. So i decided to add logging so i can see if anything goes wrong and where it happens. I add a #define DebugMode 1 in order to determine if i am to log or not.
First of all i'm not very good at c++ but i know enough to ...
Hi,
I have a shared library libtest.so which will be loaded into the the main program using dlopen. Function test() reside in libtest.so and will be called in the main program through dlsym. Is there any way I could set up a break point on test?
Please note that the main programm has not been linked to libtest.so during linking time....
Hi - I'm trying to step into a method referenced in an external dll from a C# web service dll. I'm developing the web service code and can step into it from my Winforms app. The dll I'm trying to step into from the web service was developed by someone else, and I have the dll and pdb files. When I try to step into it I'm getting the mess...
I have a very strange problem, and I don't know how to fix or debug it.
Short Story: I get locked out of my Django app when Debug is set to False.
Long story:
Case 1 (the first time it happened):
1. I enter my login info, but It just redirects to the login page.
2. I restart the server, try to login, and it works fine, I get in.
3. a...
I am creating an application that depends on third-party library, which in turn depends on MSVCP90D.dll. While running the application it fails to start and provides an error message:
I have found such library in C:\Program Files (x86)\Microsoft Visual Studio 9.0\VC\redist\Debug_NonRedist\amd64\Microsoft.VC90.DebugCRT and C:\Program F...
I get this error "Illegal characters in path" for this code:
Dim strm As System.IO.FileStream
strm = New System.IO.FileStream(filepath, IO.FileMode.Open, IO.FileAccess.Read)
...
I've been using using F5 (Start Debugging) for years to build the code (if its out of date), and then debug. This was working on VS 2010 also, however today it just start debugging without a build. Say I do a clean on the project, and then hit F5 instead of building it so it can run it throws an error message saying that the exe doesn't ...
Hello,
I've got a website build with Spring and jpa (by hibernate). I've got a bug and I don't know how to identify the line where the bug appears.
I can't debug it on my ide because it's a live version (all runs fine in local).
I've got log which says:
o
rg.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveM...
I'm attempting to do some debugging in GDB for an iPhone app issue. When I mouse over a string variable to see the contents the console goes into an infinite scroll with the text "Unable to access variable ".
Any ideas on why this might be happening?
...