I am new to programing and can not find or know what to search for to debug the thread that is started with the SendAsync Method. The code works good using the Send Method but when using SendAsync it goes to waiter.WaitOne() but i never get the callback (I think thats what its called) to myPing_PingCompleted. So two questions how do I de...
We are in the process of setting up surround scm as our source control program. We created a trigger which will run when changing the state of a file/repository. When we run it on many files the server gets several werfault.exe processes in the process list. I realize its windows error reporting, however, there is no popup. I'm trying to...
I have a long-running script which, if let to run long enough, will consume all the memory on my system.
Without going into details about the script, I have two questions:
Are there any "Best Practices" to follow, which will help prevent leaks from occurring?
What techniques are there to debug memory leaks in Python?
...
Where can I find the actual code (be it java or native) that's executed by:
new URL("http://google.com").openConnection().getOutputStream()
Bonus: how I can debug it from IntelliJ IDEA ?
...
Is there a way of debugging sql in visual studio
...
Is it possible to create a method which performs debugging assistance like the System.Diagnostics.Debug class?
I'm looking for a way to construct a method which when called by an assembly compiled with the DEBUG conditional compilation symbol defined, results in an operation, and which is a no-op when called by an assembly without the s...
I am trying trying to attach to a process in Visual Studio, and I can't find that process that I usually attach to during debugging.
What is going on with Visual Studio?
...
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...
In my C++ project, I have a convention where whenever the macro DEBUG is defined, debugging printf-esque statements are compiled into the executable.
To indicate whether or not I want these compiled into the executable, I normally would pass the macro name to gcc with the -Dmacro option. So, in the Makefile I (currently) have:
CXXFLAG...
I have one application in wich I need to make code changes almost all time (changing crytographic procedures, etc...), so my idea is to have all my debug parameters and variables activated each time I'm making changes. I don't want to be commenting and uncommenting code all the time, so my question refers to simple lines of code that wil...
I have an ASP.NET web app which is small yet has a fair amount of C# behind it.
I am trying to run some code, which is dependent on a class library/.dll I have produced (containing business logic). When I debug, after I bind to datasource property, I get an object reference not set to an instance object.
I know how to fix these errors ...
I am debugging a Safari-specific javascript issue, and I can't get console.log to output to the error log. This is a documented feature of Safari (I'm using version 4.0.3). These statements in my code just seem to be ignored, however. Any ideas why? I'm not finding leads through Google.
...
Visual studio tells me that 64-bit managed+unmanaged code debugging is not supported. Has anyone managed to resolve this problem?
...
Most of the good PHP IDEs i find are not free, so does anyone know of a good, yet free PHP IDE???
As in an IDE with features like
auto completion
debugging
code formatting
code highlighting
database previewing
etc
...
UPDATE: I pasted the entire source for Mr. Kraft. Having said that, this is probably my first real WinForms app, so please dissect and critique as well if you feel like it. Also, to make the critiquing less painful for me, I should note that I wrote this app very quickly, so I have a task of refactoring and improving design for it assign...
I am using Visual Web Developer 2008.I have debug my javascript at localhost by adding a breakpoint/debugger in js file.It works perfectly in IE8 before.
This nice debug function is broken, after I try a developer tools(Press F12 in IE8).
...
If I am running a long R script from the command line (R --slave script.R), how can I get it to give line numbers at errors?
I don't want to add debug commands to the script if at all possible -- I just want R to behave like most other scripting languages ...
...
My ASP.NET MVC application enforces the use of SSL (nothing happens at all over plain HTTP) - session cookies are required to be SSL & HttpOnly; my authorization module checks that no communication goes in or out over anything except HTTPS.
The problem: How do I debug/step-through in Visual Studio now? I still want to be able to do F5 q...
I heard of a feature supposedly included in VSTS 2010, but now I can't find any mention of it.
It was a tool that allowed a developer to attach a debugger that was on a flash/jump drive and start debugging a program. It did not require any installation.
Note: I am not referring to the Historical Debugger.
Anyone else heard of this? ...
If I have a an app which relies on a .dll which contains my core classes. I have noticed when debugging the main app and it steps into the .dll, the debugger steps through (At my request) blank lines!? Why is this?
Sometimes when I debug an asp.net app and get a ysod, I don't get the name of the file with the bug or line numbers, but I ...