Viewing data in memory window
why can't I see the variable 'x' in memory window of VS2005 while stepping the code using debugger? int main() { char *c = "String"; //visible char x = 'a'; // not visible } ...
why can't I see the variable 'x' in memory window of VS2005 while stepping the code using debugger? int main() { char *c = "String"; //visible char x = 'a'; // not visible } ...
hi all, im (like a lot of other people) doing my first steps in vs2010. one of the things i just found which really annoys me is that each time i try to debug a WPF application the ide slows down so each movement from one statement to the other results in 10 sec. (!) waiting. what can i do ? is there a nice solution (besides not using...
I'm using Xcode 3.2.3 and iPhone SDK So I'm trying to debug a UIView subclass, I hit a breakpoint in an overridden method and I can't see any symbols in either the GUI or gdb, just globals and registers. This is what I see: (gdb) po self No symbol "self" in current context. Yet when I set a breakpoint in a UIViewController subclass,...
Could someone here shed some light about how NASA goes about designing their spacecraft architecture to ensure that they are able to patch bugs in the deployed code? I have never built any “real time” type systems and this is a question that has come to mind after reading this article: http://pluto.jhuapl.edu/overview/piPerspective.p...
I would like to have a break on the SetTimer function in order to see which components register what timers with what values. Is this possible? ...
I'm developing a small IDE, and I'm wondering where I can find a set of IDE icons. A few google searches didn't turn anything up that was too useful. I suppose that's probably because an 'ide icon set' wouldn't get very many purchases (compared to more generic icons). In any case, does anyone know where I can get some such icons? Certai...
I just found out how to break into the SetTimer function inside a windows dll (user32.dll). link text However i need to know what arguments its called with. I think that the arguments are pushed onto the data stack right before calling the function, but I have found no way to display a threads data stack in visual studio 2010. ...
I'm working on writing an OS and I'm running into problems trying to debug my code. I'm using GDB to connect to Bochs' GDB stub to "remotely" debug my kernel. Connecting works fine, as does loading debugging symbols from the kernel file. I set a breakpoint for the kmain function, which is successfully located, and the debugger breaks ...
Hi I'm using FDB.exe now for debugging. The problem is I don't know how to do "step into" with that. There're two command for stepping, "step" and "next", but it all behaves similar to "step over" in a GUI debugger. So is there any good way? Maybe I need to set a break point in the beginning of the function i'm going to step into, conti...
I'm a little confused about using release vs. debug versions of a dll for a live site. We have code written so that when the site experiences an uncaught exception it runs through the exception and any inner exception and emails us the details. I've read that it's best for performance to only use release version dlls but I wondered if ...
When I'm running Jinja2 in Google App Engine, I get useless debugging information. I gather this is because of this item in the FAQ: My tracebacks look weird. What’s happening? If the speedups module is not compiled and you are using a Python installation without ctypes (Python 2.4 without ctypes, Jython or Google’s AppEngine) J...
We're having problems with UTF-8 in Solr, and need to debug the documents that are sent for indexing. Can we do this somehow? Searched all logs I've found, enabled debug="1" in the app XML in the tomcat6 / Catalina directory. Even tried Wireshark, but no dice. Please please! Everything looks good on the PHP side, and this has been work...
I'm working on a DirectX game and I'm finding that during release builds I'm getting 170fps average, however in debug builds I'm getting ~20fps. I was wondering if this massive difference is normal between release and debug builds especially since in debug I don't have any traces being out put? I know there hsould be a performance gap b...
How do i get the address of the variable holding an event handler? e.g. TExample = class(TObject) private FOnChange: TNotifyEvent; end; i want the address of the FOnChange private member, event handler, variable. Why? i'm trying to figure out who is overwriting my FOnChange handler variable with junk. i am stepping through c...
RedGate has an error reporting tool that says it can "Get a complete state of your program when it crashed (not just the stack trace), including the values of variables when the crash happened – without having to go back and forth in inefficient email conversations with the end-user." I've built a unhandled exception re...
When I debug .net code, how can I know when the garbage collector runs? I do not wish to control when the garbage collector runs. I only wish to be able to know when it is running. I have some code that is running out of resources. I know that the resources are not being used; I want to know when the GC is running to free them. Oh, ...
Hiya All, I have a bit of strange problem on this page: http://www.bluprintliving.com/locations it seems that the markers i want to display are showing up in Firefox but not showing up on Chrome/Safari or IE. I am not sure really where to start debugging this issue as there are no javascript errors. The code is in two parts. The first...
Hi, i have a general question about debugging a .NET process that has been built locally but deployed to a remote machine. If the process was built in DEBUG mode and was deployed WITH pdb's, is there any software or technologies available that allow you to hook in or attach to the process for debugging purposes without installing visual ...
Hi everyone, I am using Powershell 2.0 to write data to the Powershell's debug stream via Write-Debug function. Now I want to read that stream from the same powershell script. I tried to redirect the debug stream with "2>&1" but this works only for the error stream. Is there a way to read the Powershell debug stream from a powershell s...
I have a huge MMC snapin written in Visual C++ 9. Every once in a while when I hit F5 in MMC mmc.exe crashes. If I attach a debugger to it I see the following message: A buffer overrun has occurred in mmc.exe which has corrupted the program's internal state. Press Break to debug the program or Continue to terminate the program. ...