I'm forced to use IIS7 because Casini is only x86 and we are running with x64 ELMAH.
Something I've noticed since I've switched is that I cannot set breakpoints in ASP.NET MVC views anymore. I'm not totally sure it's because of IIS7, is it? Does it happen to you as well?
The Visual Studio (2008) project is configured to use the local I...
I am looking for a neat way to trap and fiddle with the CPUID instruction of Linux processes. Played around with ptrace() and patching all cpuid opcodes in all executable mmap'ed regions that are created by a process, replacing them by int3's. Didn't work that well since the CPUID opcode bytes appears quite often as parts of other longer...
Is there a single command in gdb which can set breakpoints on all the functions in a given file ?
I know about rbreak regex which sets breakpoints in matching regular expression functions, but my file doesnt have fixed patterned functions.
In another way, is there a command by which I can set a breakpoint on a filename. Which will mean...
I would like to know from where inside a huge application a certain message is printed. The application is so big and old that it uses all conceivable ways of printing text to the terminal; for example printf(), fprintf(stdout, ...) etc.
I write to put a breakpoint on the write() system call but then I'm flooded with too many breakpoint...
I am debugging someone else's web page. There is a link on it which tries to open itself in a popup window, the reason for this is unclear -- there is nothing obvious in the HTML (onclick=foo) to cause this.
Disabling JavaScript means the link opens normally. I have Firefox/Firebug/Dom Inspector and would like to trap whatever JavaScrip...
hi all,
I have a strange situation in my application.
I have a service that needs to return some value from the DB.
My service calls to some method in a singleton (by using the GetInstance method).
For the purpose of debugging i wrote logging messages in every method along with a view of the call stack.
While debugging i noticed somet...
I'm not sure if 'debugging' is the right word, but I'm looking for a tool/IDE that would show my which statement/block will be executed next in a particular module. This feature I remember was available in Turbo C++ years back so I assume something similar might be available in some Python IDE?
Thanks
...
hello, when you set a databreakpoint in MSVS, then you put in the address and the number of bytes and finally it lets you choose betwenn "C" and "C++".
this last part i dont know what it is about? what is the difference of picking C and C++ in this situation?
thanks!
...
This might be a shot in the dark, but, how would I go about setting a breakpoint inside the following internal static method in PresentationFramework.dll?
System.Windows.Documents.TextEditorTyping._ShowCursor()
I've run into a very similar situation to Joe, where I am making a custom auto-complete textbox using a TextBox control and a...
I am using cygwin on windows XP. I have a C++ project using makefile. But I am getting a segmentation fault. But gdb is not stopping at breakpoints. I have -g option enabled in makefiles. Gdb shows me the line where the fault is generated. But if I run after inserting breakpoint at any point before the fault line, gdb does not stops. It...
There is a article in MSDN which provides the procedure:
http://msdn.microsoft.com/en-us/library/aa295838(VS.60).aspx#_core_setting_a_breakpoint_when_a_register_expression_is_true
But it seems that i tis for visual studio 6 ... Actually I can not find the "Breakpoint" entry under "Edit" Menu...
Do you guys know how to do that? I want t...
Hi,
im using NB 6.8. When i add a breakpoint an icon is added next to the line of code. But that icon is not a pink square but a vertically cutted in half pink square.
Is this the new icon that symbolizes the breakpoint (i expected a non-broken pink square) ??
Bye
Javi
...
Most debuggers have a watch function but I find it's kind of useless. I want something like "break on write" so I can tell where my data goes awry.
I work in php, python, javascript. A feature like this would be handy in every language.
Maybe the watch functions of most modern debuggers have this tucked away somewhere and I'm not awar...
Hi everyone !
I'm trying to draw a line using GLUT with C++ - the IDE is VS 2008 -but an error message occurred :
Windows has triggered a breakpoint in
Graphics.exe.
This may be due to a corruption of the
heap, which indicates a bug in
Graphics.exe or any of the DLLs it has
loaded.
This may also be due to the user
...
I have a multithreaded app that is very stable on all my test machines and seems to be stable for almost every one of my users (based on no complaints of crashes). The app crashes frequently for one user, though, who was kind enough to send crash reports. All the crash reports (~10 consecutive reports) look essentially identical:
Date...
In my program I've got two data files A and B. The data in A is static and the data in B refers back to the data in A. In order to make sure the data in B is invalidated when A is changed, I keep an identifier for each of the links which is a long byte-string identifying the data. I get this string using BitConverter on some of the impor...
I have scoured the web and stackoverflow and didnt find anything specific to 1.6.20 so I am wondering if I am the only one seeing this...
I am building a JSP based on SUN JRE 1.6.0.20, Tomcat 5.5.25 and am using MyEclipse 8.5 . After running my Servlet a few times through the code/debug cycle, the IDE just starts ignoring all breakpoint...
The scenario is: there is a deep call hierarchy and each call will return HRESULT. If something bad happens, function will return S_FALSE or S_ERROR, and if a call return error, the caller will directly return the error code. normally all function will return S_OK.
So when debug an issue, I need to do many trials, see which call returns...
I'm debugging some random crash bugs, but actually very difficult to go deep into. Because when i open crash dump, only find one error:
0:000> .exr -1
ExceptionAddress: 00000000
ExceptionCode: 80000003 (Break instruction exception)
ExceptionFlags: 00000000
NumberParameters: 0
Actually i haven't set any hard-code breakpoint in co...
I've just "upgraded" from NUnit 2.5.2 to NUnit 2.5.7 so that I can run unit tests against an dll's built with .Net Framework 4. I've been using 2.5.2 for a long time via the "StartExternalProgram" property uner project properties. I've never had to explicitly debug attach to the NUnit process in that scenario.
Now under 2.5.7 it appear...