I'm a long-time emacs user, and I'm now working about 1/2 time in Java.
What are the best emacs libraries for
Debugging Java
Code Completion/Intellisense
Javadoc browsing
?
Is there any way to add any sort of debugging to a Lego Mindstorms program, when using the NXT drag-and-drop environment?
It would be nice to be able to monitor the status of the various sensors, but even knowing what step in the program was running would be nice.
Hi.
I have a process that contains C# code, C++\CLI code and native c++ code.
Now, I'm trying to remote debug my process, and I can go to the statements of my C# code and my C++\CLI code, but I can't reach my native code.
When I try to hit a breakpoint in my native c++ source file, I get the "No symbole have been loaded" error. I tried to manualy load the symboles (tools-options-debugging), but no luck.
Any Idea?
I don't like debugging in a debugger, because I think it is often below the abstraction layer of the programming language and it is often not reproducible. I favor usign unit tests when possible and I think they are a good way, but it is not always that easy to implement them. Do you know about any other alternative approaches to avoid the use of debugger?
I have a Windows service that I'd like to gather some debugging data on using Intellitrace - the problem is that you can't debug a Windows Service by starting it directly from inside VS. I have the service installed, and the very first statement in Service.Start is "Debug.Break", which allows me to attach VS. However, you can't use Intellitrace if a process is already started when you attach.
Does anybody know of a workaround for this?
At the end of my DirectX application I get "The Direct3D device has a non-zero reference count, meaning some objects were not released.". The application is large and not written by me, how can I go about debugging what resources are not being released?
The stdio is usually buffered. When I hit a breakpoint and there's a printf before the breakpoint, the printed string may still be in the buffer and I can not see it.
I know I can flush the stdio by adding some flush code in the program.
Without doing this, is there any way to tell GDB to flush the stdio of the program being debugged after GDB stops? This way is more friendly when debugging a program.
So I'm debugging some websites (one from trunk, one from branch) running locally, in separate apppools. I have trunk and branch solutions open in two VS instances. I'd like to debug trunk in one, and branch in the other. I'd like to know if there's a way to know which application pool each w3wp.exe is serving, to know which one is which when attaching the debugger.
What are the differences between debug and release builds for a Cocoa application?
I know the debug version contains additional information for debugging but what else is different?
I'm using watermark extenders on textboxes and an exception is being thrown from the AJAX Control Toolkit .dll. It's strange because this just started happening.
I tried debugging from the Ajax solution and Ajax examples (but with my code), but no dice.
Is there a way to step into the Ajax .dll from my solution to see where this is happening?
I was debugging my project, at some point I also need to debug dll file.
What I did, I locate source code file and open it and all thing went well.
But now, when I reach at the same point dll file automatically open.
How could I avoid this situation? it annoy me.
When I'm debugging something that goes wrong inside a loop, say on the 600th iteration, it can be a pain to have to break for every one. So I tried setting a conditional breakpoint, to only break if I = 600. That works, but now it takes almost a full minute to reach that point, where before it was almost instantaneous. What's going on, and is there any way to fix it?
I've seen this type of problem before but only on ASP.net applications. I'm using a plain ol' WinForms application with Visual Studio 2008. I'm on Windows 7 Ultimate x64. The error I get when trying to debug my solution is:
Error while trying to run project:
Unable to start debugging
Any ideas on how to fix this?
during debug mode or while i am doing testing, i need to print lost of various information, so i use this method
ifdef TESTING
// code with lots of debugging info
else
// clean code only
endif // TESTING`
Is this the good method, or is there any other simple and elegant method.
But this way, I am repating the same code in two places and if anything is to be changed later on in the code, I have to do it in both places, which is time consuming and error prone.
Thanks.
I am using MS Visual Studio.
I'm considering creating a simple remote debugging application for Javascript. Actually, I want to provide an object to Firebug Lite and let it do all the job.
So, can I get an object from one page, serialize it, send it to server and then to another browser and finally see the same results in Firebug Lite (on that other client) as I would see on the first browser (with doing "console.dir(obj)")? Is it possible to do?
Debugging a PHP program, is there any add-on/plug-in for browser which I can view sessions variables (those PHP $_SESSION["foobar"] )?
Best if I can change the value in the variables. Thanks!
You're going to think I'm either lying or nuts, but neither is the case. I installed VS2008 PRO on a Windows 7 x64 machine and all the debugging commands are missing. There's no debug toolbar and no Debug.* commands under Tools\Options\keyboard.
How do I get the debug functionality working?
We have a strange problem in our team. When a developer is using Eclipse in Debug mode, MS SQL Server 2005 blocks other developers from accessing a stored procedure. Debug session typically involves opening Hibernate session to persist an entity which could be accessing a stored procedure used for Primary key generation. Debugging is done in business logic code and rarely in JDBC stored procedure call.
Is there any way to configure MS SQL server or the stored procedure so that other developers are not blocked?
I currently use Textmate for most of my editing, but am taking a Java course and am wondering if there's a better editor out there, especially one that might have some form of intellisense or active debugging.
My current process for debugging stored procedures is very simple. I create a table called "debug" where I insert variable values from the stored procedure as it runs. This allows me to see the value of any variable at a given point in the script, but is this is there a better way to debug MySQL stored procedures?
I need to debug a winCE application over the ethernet using Visual Studio 2005. I
have connected to the device over the ethernet and now need to run
conmanclient2.exe and cmaccept.exe before I can start debugging.
However, I don't know how to copy these files over the ethernet.
Please guide me.
Thankyou!
Just wondering if there is any easy way to start a debugging session that lauches the server and the client by simply pressing F5.
As it stands I have to F5 to debug the server, then find the client project and right click-Debug, which is a bit fiddly.
Any tips to get this to work more smoothly?
Hi guys,
Is there a good application (that has some kind of gui) for testing memory leaks in c code. I would really like to test my assignment/programme but being very new to this, i struggle with using the terminal to do things, especially using gdb for debugging (to me it feels like a blast from the past, where i could be using some visual debugger).
Thanks for the help
edit: platform doesn't matter - i am running everything ;)