Hi,
I was wondering if there is a less intrusive way to analyze a running, managed process in production environments.
Less intrusive meaning:
No delay of execution when attaching the debugger.
No delay of execution when getting basic stats like running threads.
In the Java world there is a such a tool part of the JDK. I was wonder...
I know this question has been asked before and I've looked through the responses but no matter what I do, I can't create an environment to step through my php programs.
I've downloaded the XAMPP stack, and eclipse and enabled xdebug but nothing.
PHPinfo reports: Debug Build, No. Does that mean that I'll never get an XAMPP installation ...
I have added one line ( import pdb; pdb.set_trace() ) to httplib's HTTPConnection.putheader, so I can see what's going on inside.
Python26\Lib\httplib.py, line 489:
def putheader(self, header, value):
"""Send a request header line to the server.
For example: h.putheader('Accept', 'text/html')
"""
import pdb; pdb.set_t...
Hello every body! I'm playing with OpenCV in Cocoa program. When I try to call the method with some OpenCV code in the second thread I get "Previous frame inner to this frame (gdb could not unwind past this frame)"
...
how we do basic debugging in PHP ?
Can anybody share true horror story on debugging PHP application (or (even better) on PHP framework such Codeigniter and Wordpress) ?
i love to hear real experience in case i have to encounter similar situation on my journey to learn PHP.
...
I have a program that throws an uncaught exception somewhere. All I get is a report of an exception being thrown, and no information as to where it was thrown. It seems illogical for a program compiled to contain debug symbols not to notify me of where in my code an exception was generated.
Is there any way to tell where my exceptions ...
Hi,
Q1 - When doing a compile/debug is VS suppose to delete existing files in the bin\debug area? (for VS2008)
if no then can I ask please:
Q2 - My winforms checks for existance of a sqlite.db3 file and creates it if it needs to (programmatically). If the behavior I wanted was that each Compile/Debug I do is for the target Debug are...
Hi.
I've encountered in the following paragraph:
“Debug vs Release setting in the IDE when you compile your code in Visual Studio makes almost no difference to performance… the generated code is almost the same. The C# compiler doesn’t really do any optimisation. The C# compiler just spits out IL… and at the runtime it’s the JITer that...
Hi experts,
Currently we are studying the Java based tool which is primarily Reporting tool.It was developed in 2000/2001 period and uses many open source libraries like Apache Avalon/Mx4J.Adaptor/edu.Oswego(java concurrent package) etc. Tool uses jdk 1.3.1 and goal is to upgrade to jdk 1.5.We have also been asked to remove these 'outda...
I used to be able to attach to my w3wp process and Debug my web application, but this is not working anymore. I have no idea what changed to break this. I'm using Visual Studio 2008 SP1. And I'm debugging in IIS, not using ASP.NET's own server (i.e. I don't Run my project, I simply attach to a running process (w3wp).
My breakpoints sim...
I use <s:token> in my struts2.1.8 project, but I get log....., plz help me to solve, thanks in advance.
2010-03-13 09:26:06,224 INFO [STDOUT] (http-0.0.0.0-8080-3) 09:26:06,223 WARN [OgnlValueStack] Error setting expression 'struts.token.name' with value '[Ljava.lang.String;@5cfe5cfe'
ognl.OgnlException: source is null for getP...
SetThreadName does not set thread name with Visual Studio 2005, when used as below:
DWORD threadId;
HANDLE handle = CreateThread(NULL, stackSize, ThreadFunction,
ThreadParam, CREATE_SUSPENDED, &threadId);
if (handle)
{
SetThreadName(threadId, "NiceName");
ResumeThread(handle);
}
After opening the Th...
I have a web application that works fine for a while (a few days) and then starts throwing FileLoadException's when instantiating a class that references an external dll.
I'm not explicitly loading the assembly with any of the Assembly static methods. I'm just instantiating a class that itself instantiates a class from the referenced l...
hi, i know this is kinda retarded but I just can't figure it out. I'm debugging this:
xor eax,eax
mov ah,[var1]
mov al,[var2]
call addition
stop: jmp stop
var1: db 5
var2: db 6
addition:
add ah,al
ret
the numbers that I find on addresses var1 and var2 are 0x0E and 0x07. I know it's not segmented, but that ain't reason for it to d...
Hi,
When tomcat hits a breakpoint in Eclipse, the execution thread stops, but the breakpoint takes absolutely ages to appear in Eclipse. The same is true if I try to inspect a variable; the first time takes about 2 minutes. After that, the debug session is fine.
What with that and the CONSTANT need to keep re-publishing to tomcat every...
Originally posted on Server Fault, where it was suggested this question might better asked here.
We are using JBoss to run two of our WARs. One is our web app, the other is our web service. The web app accesses a database on another machine and makes requests to the web service. The web service makes JMS requests to other machines, aggr...
Hi,
We are a .NET LOB shop using MS CRM as our CRM platform. To this end, we many times a day during development phases are using remote debugging due to 2 connection limit to the server.
We are able to setup remote debugging without logging onto the machine by using PsExec. This works great - but how the heck do we kill the remote deb...
Hy I have a script called dataface, on a shared host it outputs all the time this warning
Warning: file_exists() [function.file-exists]: open_basedir restriction in effect.
File(/usr/local/lib/php/Dataface/FormTool/text.php) is not within the allowed path(s):
(/home/:/usr/lib/php:/tmp) in /home/a4385243/public_html/dataface/Data...
I'd like to build a client for dbgsrv.exe. I'd like to know if there's a spec on the protocol that it uses and if there are any (open source?) libraries that are able to communicate with it for a remote debugging session.
...
I would like to create a simple .MAP file listing addresses and symbol names from a PDB file. My natural inclination was to look for a tool named "pdb2map", but most of the results I get for that appear to refer to a sample program from the CD included with Debugging Applications for Microsoft .NET and Microsoft Windows, which unfortunat...