In this article you will learn how we can configure Silverlight application to run Out of Browser and debug when application is launched in Out of Browser window.
I'm running Ubuntu 14.04 with 3.16.1 kernel compiled from source, and when I leave my PC running for a long time, it always reboots after about 4-8 days. Nothing is displayed on the screen, everything just freezes for about 3 seconds (and if there was any sound playing, it keeps repeating over and over), and then reboots. This issue also affects…
I get the impression that in practice, debuggers are rarely used for Rails applications. (Likewise for other Ruby apps, as well as Python.)
We can compare this to the usual practice for Java or VisualStudio programmers--they use an interactive debugger in a graphical IDE.
How do people debug Rails applications in practice? I am aware of the…
Possible Duplicate:
Are debugging skills important to become a good programmer?
I'm a young Java developer and I make a systematic use of the Netbeans debugger. In fact, I often develop my applications when I debug step by step in order to see immediately if my code works.
I feel spending a lot of time programming this way because the…
I'm starting to get the hang of GDB, but everything still feels much slower than when debugging in Eclipse or Visual Studio.
Are there any GDB commands you find particularly useful/productive? My life became dramatically better when I discovered:
list - Display source code near the current instruction
But that is still pretty basic. (And…
I'm developing an xbox indie game and as a last-resort I have a try...catch encompassing everything.
At this point if an exception is raised I can get the user to send me a message through the xbox however the limit is 250 characters.
How can I get the most value out of my 250 characters?
I don't want to do any encoding / compressing at…
I am making a game for android and in it I am using sensors which are not available in the emulator. At the moment I am connecting my device and transferring the apk, then installing to test but that is a pain to do, and I have gotten to the stage where I need to start logging values for debugging. I have gone into the run configs of my…
I'm developing a game using Box2D (javascript implementation - Box2DWeb), and I would like to know how I can pan the debug draw. I know the usual answer is - don't use debug draw, it's just for debugging. I'm not, however not all my objects are on the same screen, and i'd like to see where they are in the physics representation.
How…
I am working on a CNC (computer numerical control) project which cuts shapes into metal with help of laser.
Now my problem is once in a while (1-2 times in 20 odd days) the cutting goes wrong or not according to what is set.
But this causes loss so the client is not very happy about it.
I tried to find out the the cause of it by
…
Possible Duplicate:
How to effectively do manual debugging?
Programming in a debugger is ideal. When I say a debugger, I mean something that will allow you to:
Pause execution in the middle of some code (like a VM)
Inspect variable values
Optionally set variable values and call methods
Unfortunately, we're not always…
Ok. So while this isnt a programming question. I wanted to know how do people debug apps? How do you view log cat, and where these exceptions are thrown etc? And do I need to run the app on the emulator to see all the stuff, or is there a way to view this after running the app on my phone(while not being connected to the…
Hi, I have a messy stored procedure which uses dynamic sql.
I can debug it in runtime by adding print @sql; where @sql; is the string containing the dynamic SQL, right before I call execute (@sql);.
Now, the multi-page stored procedure also creates dynamic tables and uses them in a query. I want to print those tables…
This is pretty simple: I'm using NetBeans on Linux with Android emulator 1.6. I have Logcat on my android phone, but the process of getting the messages to somewhere readable isn't smooth at all.
Can someone tell me how to get Logcat running on the emulator? Is there anything I can do to see debug messages other then…
Hi,
I have some piece of code which uses JNI. I can debug code wrote in Java directly in Eclipse (using ADT). I even have a script, which help me debug native code with gdb. However this is not very comfortable way for doing this.
Is it possible to configure Eclipse to use gdb (I guess gdbserver) for debbuging…
Hi - I'm trying to step into a method referenced in an external dll from a C# web service dll. I'm developing the web service code and can step into it from my Winforms app. The dll I'm trying to step into from the web service was developed by someone else, and I have the dll and pdb files. When I try to step…
I have an application written in Java to run on Linux. I'm developing in Eclipse under windows. I would like to run the code on the Linux box and debug it on the Windows one remotely. I've found some information about how to do so, but it's pretty sparse. Does anyone have (or can point to) a complete…
I am trying to make a jabber bot from scratch and my script is acting funny. I was originally developing the bot on a remote CentOS box, but I have switched to a local Win7 machine. Right now I'm using ActiveState Perl and I'm using Eclipse with the Perl plugin to run a debug the script.
The…
Hi,
I was wondering if there is a less intrusive way to analyze a running, managed process in production environments.
Less intrusive meaning:
No delay of execution when attaching the debugger.
No delay of execution when getting basic stats like running threads.
In the Java world there is a…
I have a few simple lines of code (below). [bp] indicates a breakpoint.
for(int i=0;i<300;i++){}
int i=0;
cout<<i;
[bp] for (i=0;i<200;i++){}
When I debug this in visual studio, it tells me that i is equal to 300 on the breakpoint. Annoyingly, 0 is printed to the…
Hi,
I'm wondering what is the best and useful debug tool in Linux environment for Perl/C++ scripts.
In related to that, does anyone know the differences between Eclipse to DDD tools?
Thank you,
YoDar.
The first parser generator I've worked with was Parse::RecDescent, and the guides/tutorials available for it were great, but the most useful feature it has was it's debugging tools, specifically the tracing capabilities ( activated by setting $RD_TRACE to 1 ). I am looking for a parser…
We test our code to make it more correct (actually, less likely to be incorrect). However, the tests are also code -- they can also contain errors. And if your tests are buggy, they hardly make your code better.
I can think of three possible types of errors in tests:
Logical errors,…
I have a custom logging system, use of which is scattered all over the engine and game. The system is linked to a "LogStore" that has an std::vector<string> logs[NUM_LOG_TYPES] - each vector corresponds with it's log type (info, error, debug, etc.). There's one extra std::vector…
I work for a software product company. We have large enterprise customers who implement our product and we provide support to them. For example, if there is a defect, we provide patches, etc. In other words, It is a fairly typical setup.
Recently, a ticket was issued and assigned to…
When debugging a project in Visual Studio 2005, I have recently noticed a brief appearance of the "Object Test Bench" window. This window appears and then disappears after less than a second and does not look like the normal "Object Test Bench" window one sees when not debugging, as…