0
голосов
2ответов
3399 просмотров

Weird debugging situation: "There is no source code available for the current location"

I have a Windows Forms application in a single project written in VB.NET 2003 (legacy code). There is a MainForm and a SecondaryForm that is run by the MainForm. When I run the application through the MainForm, I can debug without any problems. However, if I just run the SecondaryForm, I get the...

68
голосов
6ответов
20045 просмотров

System.Diagnostics.Debug.WriteLine in production code

I should probably know this already, but I'm not sure and I don't see it documented. I use System.Diagnostics.Debug.WriteLine quite often during the development process to be able to track changes to variables or exceptions as I'm debugging the code. This is meant to make development and unders...

0
голосов
2ответов
215 просмотров

Debugging console application in VS 2008 launches web servers?

I have a rather large solution in VS 2008. It contains 3 web applications and a console application as well as numerous class library projects. I've set the console application as the startup project, but when I debug (using F5) Visual Studio launches development web servers for all three of the...

1
голосов
1ответов
656 просмотров

Debugging in J2ME Polish

How to debug the J2ME Polish MIDlet? How can I show the logs which are generated?

0
голосов
1ответов
1624 просмотров

Anyone do step-by-step PHP debugging on a Mac with Textmate & local test server (Not MAMP/XAMPP)?

What do you all use? I'm getting sick of vardumping everything, I just wrote this massive function that isn't quite working correctly. I would love to be able to step-through the php code. I heard macgdbp was pretty good, but it seems like its iffy unless you use MAMP. This is for mac users wh...

6
голосов
5ответов
5287 просмотров

How do I see the contents of Qt objects during debugging?

Many Qt classes uses pimpl, so they're very opaque to VS's debugger. This is bothersome when I want to check some internal Qt state to see if my code is doing it wrong or if I'm having wrong expectations of how things stand. I'm using the Qt VS add-in (1.1.0), but that doesn't seem to help. A...

4
голосов
3ответов
1391 просмотров

How do I see the value of a DependencyProperty in WinDbg?

Using WinDbg and trying to debug a Silverlight application for memory leaks, I come across properties on my objects that are implemented as a DependencyProperty - and when I dump the object in the debugger (WinDbg) I can see the property - that is, I can see the actual static field. How do I see...

-2
голосов
1ответов
490 просмотров

autorelease pool causes crash in RubyCocoa application

I'm having crash in my application, which says trying to pop an unknown autorelease pool: 10/19/09 11:40:11 AM MyApp[89480] *** attempt to pop an unknown autorelease pool (0x11bc800) How to trace it down? Since it's RubyCocoa application it's almost impossible to trace it with gdb in Xcode env...

1
голосов
3ответов
105 просмотров

Get a look at the temporary files a process creates

I'm trying to reverse-engineer a program that does some basic parsing: text in, text out. I've got an executable "reference implementation" and the source code to what must be a different version, since the compiled source output != executable output. The process creates and deletes temporary f...

1
голосов
2ответов
1195 просмотров

Why can I not enable breakpoints in Visual Studio 2005?

I have seen that sometimes breakpoints cannot be enabled in Visual Studio, they appear as empty circles, with a warning sign when enabled. This icon change is all the information VS gives. Particularly I'm suffering that in a Windows CE 6.0 project where I cannot enable any breakpoint in any of ...

2
голосов
2ответов
1165 просмотров

Msvcr90d.dll not found when building in RELEASE

It's strange, if I build my program in debug mode, I have no errors, but if I build my program in released mode, I get an error saying that Msvcr90d.dll is not found. Msvcr90d.dll is a debug library, I'm not sure why it's coming up when I load it for release =/

9
голосов
5ответов
1182 просмотров

How to troubleshoot .NET application that just disappears?

One of our .NET 2.0 application started to just randomly disappear. There are no records in the Event log, Dr. Watson doesn't generate crash dump, no nothing... How to troubleshoot this application?

14
голосов
2ответов
5381 просмотров

Debugging a generated .NET assembly from within the application that generated it

The question in short: How can I debug the code generated during a debugging session on the generating program? (see code below) I am facing the following issue: I would like to debug into dynamically generated/compiled code from the application that generates it. I provided an oversimplified ex...

88
голосов
9ответов
36016 просмотров

Best ways to fit bug fixing into a Scrum process?

I have been studying and reading about Scrum in the last few days and reading about Sprint Planning and tasks. One problem that popped into my mind is how to deal with bugs in Scrum. Henrik Kniberg lists some ways of dealing with this issue in his very nice book Scrum and XP from the Trenches : ...

0
голосов
3ответов
1040 просмотров

Visual Studio Just-In-Time Debugging Annoyances

I have a solution comprising of about 6 projects, and when I debug on one machine, any un-handled exceptions that occur cause the environment to break at the point that exception is thrown, allowing me to debug it. However, on a different machine with the same solution (in the same version of ...

6
голосов
1ответов
3466 просмотров

Extract debugging information from a msys/mingw gcc built dll using rebase.exe?

I'm trying to analyze a mini crash dump and need symbol files in order to get more details about the crash. Im currently just seeing: "034eff74 0086eee9 00000000 0089d58d 034eff94 app_integrator!ZNK14ACE_Data_Block4baseEv+0x6" Is it possible to extract debugging information from a msys/mingw gc...

15
голосов
15ответов
7917 просмотров

How to debug a program without a debugger?

Interview question- Often its pretty easier to debug a program once you have trouble with your code.You can put watches,breakpoints and etc.Life is much easier because of debugger. But how to debug a program without a debugger? One possible approach which I know is simply putting print ...

3
голосов
2ответов
2332 просмотров

Debugging a Static Library with the Eclipse CDT

I'm working on getting set with Eclipse CDT for some embedded development and I'm having difficulty getting source level debugging working for static libraries. I'm using my own Makefiles, so that is my first suspect right now, especially since gdb claims that no symbol table info is available ...

1
голосов
3ответов
1675 просмотров

Call class member function in VC++ debugger

A while ago I read the Debugging Windows Programs book, and one of the tricks that it talked about extensively was calling functions from the Visual C++ debugger (quick)watch window. As luck would have it, I don't have a copy on hand and the little documentation that I could find about this is re...

-1
голосов
3ответов
175 просмотров

Recommended PHP debugger

I use DBG because I heard you can debug from browser but it doesn't seem to be well supported by IDE's and is pain in the ass to setup. Do you guys use xdebug or dbg? Any other suggestions are very very welcome!

0
голосов
5ответов
652 просмотров

Visual Studio - Runtime impact of conditional and disabled breakpoints

After spending a little time wondering why my app was running a particular scenario very slowly with the debugger attached, I discovered that this was due to having a conditional breakpoint (whose condition was never being met). This seems reasonable, as the CPU would signal the breakpoint and V...

0
голосов
1ответов
52 просмотров

debug session ends prematurely with vs.net 2008IE8

After upgrading to IE8, I have trouble debugging my web application (using development server). When I hit a breakpoint and start stepping over the code, all of a sudden my debug session ends prematurely. Any clues whats going on, and suggestions to fix this? P.S. I have installed Silverlight T...

3
голосов
1ответов
1563 просмотров

ASP.Net ScriptManager globally setting ScriptMode in Machine.Config

All of our applications have Debug="False" in the web.config and Release DLL's. We have a number of Applications that use ScriptManagers now for .net Ajax implementations. The ScriptManager has a ScriptMode that is set for Release and Debug modes. The default for this is Auto and when it is set ...

2
голосов
3ответов
2229 просмотров

How to debug 'value of ESP was not saved across function call' error?

On rare occasions when my program exits, I get a "value of ESP has not been saved across a function call" error. The error is quite random and hard to reproduce. How do I debug this error (VC++ 2008)? How harsh it is, as it only occurs on shutdown? Is the error visible also in release mode?

1
голосов
2ответов
139 просмотров

debugging Flex ActionScript singleton

When I am stepping through code in the Flex debugger, and enter my singleton class, "this" appears in the variables window but this cannot be expanded. How do you inspect the variables of "this".

1
голосов
1ответов
1141 просмотров

openfire monitor stanza xml message

inside openfire admin control panel page, is there any plugin i can use to monitor xml stanza . i know able to monitor it from smack client side, but i want to see it directly from server size, then my client do not need to run in debug mode

0
голосов
2ответов
841 просмотров

Visual Studio Debugger can't view arrays after they have been passed to functions

I have a function like this: MyFunction(double matrix[4][4]) {/*do stuff*/} I am calling this from an outer function (the otuer function is a member function of a class, in case that matters): OuterFunction() { double[4][4] x; initialize(x); //this function puts the data I want in the matrix ...

14
голосов
3ответов
17641 просмотров

Debug PHP with Eclipse?

What is the best way to debug PHP with Eclipse? Specifically, I'm trying to work through some issues on a Drupal 6 installation. I like Eclipse's debugging for Java. Is there a way to do the same for PHP?

4
голосов
9ответов
15163 просмотров

Visual Studio not debugging

When I press F5, my web application starts up and runs, but the Visual Studio debugger is not attached to the process. The play button is always enabled. I checked the configuration manager and all the libraries and web applications are debug|any-cpu.

1
голосов
2ответов
2270 просмотров

VS2008 Remote Debugging problems from 32-bit Windows XP client to 64-bit Windows 2008 Server

We are having an issue with remote dedubbing using Microsoft Visual Studio 2008 on a 32 bit XP client machine and a 64 bit Windows Server 2008 Virtual Machine on Hyper-V. When we debug the web project locally we can correctly see the modules loaded in the modules window (Ctrl + Alt + U) with the ...