Hi,
I'm stepping through code using Eclipse PDT. When I mouseover an array it says e.g. "$_SESSION = Array [0]", but won't show me the data.
This is fine for local varaibles as I can see them in the "Variables" window, but it means that I can't see the contents of $_GET, $_POST, $_SESSION.
How do I fix this?
I left a program running last night, it worked fine for about 5 hours and then one of its built-in self-diagnostic tests detected a problem and brought up a dialog box telling me the issue. The program was built with debug information (/Zi). Is it possible to somehow get the debugger started so I can examine the value of some variables within the…
I have an app with about 15 threads. Most do mundane tasks and sleep most of their lives. Others collect information and cache it in hashmaps. The hashmaps grow to a moderate size and level out. The number of keys and size of value remains constant, but the contents of the values changes (at 33 keys per second average).
When I start my app, I…
I have something analogous to the following code...
void function(int x)
{
// complicated operation on x
blah
blah
}
It all appears to be working fine except when x happens to be a particular value, say "273". But x being 273 is a rare event, 99.999% of the time it is some other value. Now I wish to observe the events when this…
I am making AGAIN another program that retrieves the inputted data/values of fields from the database I created. but this time, my inputted value will be coming from the JtextField I created. I wonder what's wrong in here bec when I'm running it the output is always null.
in this program i will convert the inputted value of my JTextField…
Does anyone know if there is a cap on the number of DLLs WinDbg can see ? I believe Visual Studio was once capped at 500 but I can't find a source for this claim outside of some second hand accounts at work.
I'm trying to debug a hairy scenario and WinDbg's stack trace is incomplete. According to Process Explorer, the module I'm interested…
We use a mixture of 32-bit and 64-bit development environments. Some of our class libraries are debugged using a 32-bit application so we have debug settings for "Start External Program" and "Working Directory". The problem is that the settings need to be different
since the 32-bit application is installed to
C:\Program Files\xxx (on the…
I know about DIA api, dbghelp. But can i use them to extract type definition location info such as file, begin_line, begin_column, end_line, end_column from my assembly and pdb generated?
If the answer is yes, can someone point me to the simple example out there?
I would like to apply some sort of IoC, with debugee code, i.e. the current HTML document, and the debugger, Firebug. It would be great to have some sort of document that asks Firebug to open a push channel from the document, versus the more common scenario of the debugger pulling information from the debugee document.
Is this possible…
I have written a program to merge lines in a file containing the same first word in python.
However I am unable to get the desired output.
Can anyone please suggest me the mistake in my program?
input
"file.txt"
line1: a b c
line2: a b1 c1
line3: d e f
line4: i j k
line5: i s t
line6: i m n
`
output
a b c a b1 c1
d e f
…
Hi all,
I'm new to linux kernel and could barely understand how to debug kernel panics. I have this error below and I don't know where in the C code should I start checking. I was thinking maybe I could echo what functions are being called so I could check where in the code is this null pointer dereferenced. What print function should…
I have a particular type of exception that I would like Visual Studio to not catch with the Exception Assistant. Essentially I would like it just to let my normal exception handling infrastructure deal with it.
The exception is an inheritor of System.Exception which I wrote and have the source code for. Any where this is thrown I…
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…
When I run my C++ program it crashes with this error.
* glibc detected ./load: double free or corruption (!prev):
0x0000000000c6ed50 **
I'm trying to track it down using cout statement but am finding it difficult. Could gdb make this easier? How is it done?
Hello everybody,
Are there any programs that render websites from the point of view of different browsers? In other words, I'd like to be able to open and view websites as if it were Internet Explorer, Firefox, Chrome, Safari, etc.
It would be a bonus if the utility has a paned interface that lets you view pages side by…
I'm using a 3rd party tool, which uses a 4th party plugin. Occasionally, the tool will hang when launched. Looking at the stack traces, I can see a few threads are waiting on WaitForSingleObject, and my bet is that they're blocking each other. Some of the threads start at the 3rt party tool, and some at the 4th party…
I have a Windows application written in C++ that occasionally evaporates. I use the word evaporate because there is nothing left behind: no "we're sorry" message from Windows, no crash dump from the Dr. Watson facility...
On the one occasion the crash occurred under the debugger, the debugger did not break---it…
I am dumping \t delimited data using using OutputDebugString and then use ex-Sysinternals DebugView to capture it.
The problem is that all the data in DebugView appear to be space delimited, hence I need to perfrorm CTRL+H "\x20" "t" to replace spaces with the tabs before I can use it (I really need tab…
This looks like something simple but I could not find the answer so far -
I have just learnt python and need to start learning pdb. In my module I have the usual if __name__ == __main_ trick to execute some code when the module is run as a program.
So far I have been running it via python -m mymod arg1…
Has anyone here tried it or is it possible?
I've been using PHP for quite a few years but never know exactly the underlying c scripts.
Is there a way to go into it?
When error occured Python prints something like this:
Traceback (most recent call last):
File "<stdin>", line 2, in <module>
File "<stdin>", line 8, in m
File "<stdin>", line 5, in exec_st
File "<stdin>", line 9, in exec_assign
File "<stdin>", line 48, in…
I'm having a very odd bug with ActionScript 3 in Flash CS4. I am adding movie clips to a stage in a for loop and then moving them out of view so that I can pull them in and remove them when I need them.
I've narrowed down the issue to a point that I know that every time one of the movie clips are…
Maybe I am crazy but how that could be? some == null is always false but debugger goes into if-statement body anyway. Any ideas?
I have restarted visual studio
I have cleaned every bin/obj folder
It is not the case that i don`t understand that WindowsIdentity.GetCurrent() may return null. That…