I have a brand new Nexus One. I'm trying to follow the directions for installing the USB driver. When I plug in the device, it doesn't start the New Hardware Wizard, as the documentation suggests. I can run hdwwiz.exe to launch it and manually install the driver, but when I do, Device Manager says: "This device cannot start. (Code 10)...
Since windows Vista, we have the nice option to create a memory dump of a process directly from Task Manager. Sadly, Windows Server 2003 does not have this option yet :( I found ways to do a complete system-wide memory dump, but that's a bit too much.
Is there a way to dump a single process? As this is a production Server, I do not want...
The application I'm working does not start in the debugger of Visual Studio 2005.
Here's what I do:
I rebuild the application and hit F5 to start it
The title of the VS2005-window says "projectname (Running) ..."
The debugger buttons appear but are greyed out
The application appears in the Windows task manager, but it has only 80k in ...
Hi,
I'm having segfault problem in my application written using C++ and compiled using GCC 4.3.2. It is running under Debian 5 x64.
The process crashed on the following line of code:
#0 0x00000000007c720f in Action::LoadInfoFromDB (this=0x7fae10d38d90)
at ../../../src/server/Action.cpp:1233
1233 m_tmap[tId]->slist[sId]...
I'm having some issues where my posted notification:
[[NSNotificationCenter defaultCenter] postNotificationName:@"MobileProviderChanged"
object:self.selectedProviderID];
Is not being trapped by my observer:
[[NSNotificationCenter defaultCenter] addObserver:self
...
Recently I inherited a major piece of software. The original model of the software was lost over generations of programmers working over it (though even the "original model" looks a lot broken). There is no unit test in the code. Fortunately, I do not have a requirement to be backward-compatible (oh that would be worse than hell!). I am ...
I have a web service client in C# where I take the object returned by the webservice and pass it on to the following method in order to create an xml file:
XmlSerializer s = new XmlSerializer(typeof(T));
TextWriter sw = new StreamWriter(filename);
s.Serialize(sw, obj);
sw.Close();
However, there are fields that the webservice side cla...
Please check the code and let me know if I am making any mistakes. Also I need to apply slow and fast rayleigh fading in this model.
The rcd signal is R = SAB + N
where R,S,A,B are matrices
The matlab code is given below :
close all
clear all;
clc;
warning off all
K = 27; %No. of users
Navg = 1e3; %No. of repititions
snr = 5:1...
this program crashes if i uncomment the release statements. i get that i am overreleasing and realized that quickly. but, just to test zombies, i turned them on (NSZombiesEnabled = YES and CFZombieLevel = 16) and the program runs fine and throws no exceptions.
what gives? i thought turning on zombies would have just told me what a doofu...
Beginner question: I want to debug some code that compiles. I pressed debug, it asked for an exe file. I browsed and selected the Visual C++ exe. It doesn't work and I don't know how to change it.
How to change this EXE file?
To what should I set it?
...
I'm using jQuery to created a linked TOC that appears in a dialog box. The function I wrote to do so finds all the h4's in the page and
gives them ids to link to
adds some numbering display info
clones them
turns the clones into lis
wraps the inner text in anchor tags
finds the anchors adds a click function to the anchors to close...
I wrote a code to create some threads and whenever one of the threads finish a new thread is created to replace it. As I was not able to create very large number of threads (>450) using pthreads, I used clone system call instead. (Please note that I am aware of the implication of having such a huge number of threads, but this program is ...
Have you ever step into this kind of problem?
I tried:
telnet localhost 3306
And it fails to connect.
I can see mysqld-nt.exe in the task manager(I'm using windows platform).
So I restarted the server,and it's ok.
This happens every day. Any ideas?
EDIT
Here is the error log(I didn't find anything abnormal though):
100122 10...
Situation:
I have tcp client made with Python and tcp server made with Qt. I try to send bytes with my client but I can't get Qt server to read these bytes.
Using Python made client and server, everything works fine. Also I can get my Python client work with C# server with no problems.
Code for Python client:
import socket
import sys...
Hi,
I am trying to enable JIT debugging for my winform application, I want to use Dr Watson to dump the stack trace, but when the exception is happening on my App I get a .NET dialog box (Continue or Quit), the details in this box say that I have to change some values in the machine.config or in the app.config of this application
will i...
Hello all.
I am looking for some tool that can show me what flows happened in the code when I
used some functionality ?
Like some visualization or imaging of what code was called, or from where in the code some variables were touched .
Thanks for help.
...
Sometimes I find myself stepping through an application in Debug mode, until I hit 'step' on some particular line and it takes way too much time doing something, eating up 100% CPU. At this point, I hit the 'Break' button and try to find what's running that's taking so long.
The problem is, this app has a hefty amount of threads runnin...
Hello, I'm having a problem debugging my unit tests in ASP.Net MVC. Whenever I try and debug a selected test, the breakpoint I set turns in a hollow circle with a warning sign. When I hover over it I get the following error:
"The breakpoint will not currently be hit. No symbols have been loaded for this document."
I've searched on th...
Hi there,
i am currently implementing a simple ray tracer in c++. I have a class named OrthonormalBasis, which generates three orthogonal unit vectors from one or two specified vectors, for example:
void
OrthonormalBasis::init_from_u ( const Vector& u )
{
Vector n(1,0,0);
Vector m(0,1,0);
u_ = unify(u);
v_ = cross(u_,n)...
How can I log what xml is sent to my WCF REST service prior to being deserialized into my datacontract class?
...