debugging

strange results of simple floating point operations - bad FPU internal state?

I have a software project in which I sometimes get strange results from small, simple floating point operations. I assume there is something I have missed, and would like some tips about how to debug the following problems: (the compiler used is MS VC 6.0, that is version 12 of the Microsoft C compiler) First anomaly: extern double ...

Classic ASP: Attached Debugger

Is it possible to step though Classic ASP VB code without Visual interdev or other such IDEs? I'm currently using Notepad++ to maintain a old ASP project and the ability to step though code at certain types would be helpful. Thank You, Frank ...

What debugging techniques do you use for iPhone/iPod web development?

I'm working on a web application, and we are targeting the iPhone and iPod Touch. I'm familiar with the debugging tools for FireFox and IE (e.g. Firebug and IE Developer Toolbar), but I can't find anything for the iPod. I am not looking forward to using alert as my main debugging tool, especially when I expect mouse events to be one of...

Why would my ASP.NET project run on the development server when not among the startup projects?

I have a visual studio 2008 solution that includes an asp.net-hosted remoting project in c#. The solution also contains other c# projects and c++ projects. When debugging the interaction between my c# client and the asp.net server, the debugging is great. I can literally step into server calls and back out. However, there are times in ...

Javascript function() literal overloading

I was always curious is there any possibility to overload function literal, something like you can do with Function: var test=Function; Function=function(arg) { alert('test'); return test(arg); } var b=Function("alert('a')"); var c=Function("alert('x')"); b(); c(); Of course you can guess that this is nice way of debuggin...

iPhone development- where can I get a list of all signals received by apps and what they mean

Hi My app crashes at a particular point when testing on the phone. The console shows this message Tue Jan 27 15:47:14 unknown SpringBoard[22] <Warning>: Application <SBApplication: 0x3f26180> com.myprof.test activate: deactivate: exited abnormally with signal 10: Bus error Where can I find a list with the meanings of all these sign...

getting the list of all functions executed like call stack in asp.net

Hi, I am having trouble with debugging one of the problems that I am having in our website. This is the problem. I have a webpage that contains the photo of an employee and information related to the employee. When the user logins to our website, we are storing the details of the employee in session. I am setting the image url for the p...

windbg and visual studio express editions

Does anyone know if windbg can be used together with Visual C# 2008 Express Edition Ta! ...

How do I enter a DateTime value in the VS QuickWatch window?

I am trying to change some DateTime data in a QuickWatch window. I have tried 1/29/2009, etc. but none of them seem to work. It just keeps going back to #12:00:00 AM#. ...

How to detect and debug stale cache entries?

I am using memcached with PHP trying for heavy caching to avoid db-reads. I am invalidating the cache on an update (application invalidates). But, stale cache data is becoming a big issue. Mostly, this is due to bug in invalidation (invalidates wrong key OR forgetting to invalidate the cache entry on an UPDATE). Is there any good method...

How to PRINT a message from SQL CLR function?

Is there an equivalent of PRINT 'hello world' which can be called from CLR (C#) code? I'm trying to output some debug information in my function. I can't run the VS debugger because this is a remote server. Thanks! ...

Why doesn't Visual Studio 2008 show you the value of const variables when you hover over them in C#?

My question title explains it all. This is extremely frustrating, especially when working with lots of similar constants. It works for Visual Basic projects but not Visual C#. In general, why do the IDEs seem to be so different for the different languages (e.g. super-charged Intellisense in VB but not in C#)? To me it doesn't make sense...

In Visual Studio can i plot my variable in breakpoint ?

In Visual Studio for my native C++ program I want to get a plot of some variables during debug. Mostly I use textual representation of the objects by editing autoexp.dat. But for some of the variables it is better to have a plot rather than having values in textual form. So far I have used a function plot(const void* address,const char*...

Copy always to output directory does not work

I've got a simple console project where I'm reading two Excel-files. The Excel-files are included in the project ("add existing item") and I've marked them with "Copy to Output Directory". However, they are not copied to the debug-directory when debugging/running the code. I feel like I've forgotten something trivial. What do I need to...

How to research issue with "frozen" windows system

This is not a newbie question: My desktop computer that is running Windows Vista tends to freeze on occasions. Freezes last around 5-20 seconds after then, the systems goes back to normal like nothing happened. This happens fairly often (I can safely expect this to happen within 30 minutes). During the freeze, I can move the mouse curso...

jQuery assertion support / defensive programming ?

Is there any built in support in jQuery for basic assertion checking, primarily of things like 'expected number of returned elements'. For instance I may have a simple statement like this : $("#btnSignup").click(function() { return validateForm(); ); Now theres plenty of reasons why $("#btnSignup") may not return exactly 1 ite...

Are there any free Windows Perl IDE with debugging?

Are there any free Perl IDEs out there for Windows that have debugging capabilities, syntax highlighting, and possibly even IntelliSense? ...

How to detect and debug multi-threading problems?

This is a follow up to this question, where I didn't get any input on this point. Here the brief question: Is it possible to detect and debug problems coming from multi-threaded code? Often we have to tell our customers: "We can't reproduce the problem here, so we can't fix it. Please tell us the steps to reproduce the problem, then we...

How to enable NSDebugEnabled/NSEnableAutoreleasePool on iPhone

There are environment variables you can set to help debug memory issues on the Mac, but how do you set the environment variables or enable these flags described in NSDebug.h for iPhone development? NAME OF ENV. VARIABLE DEFAULT SET TO... NSDebugEnabled NO "YES" NSZombieEnabled ...

Debug with Visual Studio, wrong URL on ASP.NET MVC

Hi, I just created a ASP.NET MVC project in VS2008. When I press F5 to debug the current view in my browser, it open the URL of the ASPX file : http://localhost/Views/MyController/Index.aspx instead of : http://localhost/MyController How to make it open the good URL ? ...