I am implementing a "breakpoint" system for use in my Python development that will allow me to call a function that, in essence, calls pdb.set_trace();
Some of the functionality that I would like to implement requires me to control pdb from code while I am within a set_trace context.
Example:
disableList = []
def breakpoint(name=None)...
I know how to attach a debugger to a windows service, but I can't seem to get attached to one that's being installed and started by a windows installer. I've tried:
Setting a Thread.Sleep(TimeSpan.FromSeconds(30)); at the beginning of the on-start, but when I try to attach in Visual Studio, the name of the service does not appear as an...
I'm trying to debug a problem in a DLL written in C that keeps causing access violations. I'm using Visual C++ 2008, but the code is straight C.
I'm used to Delphi, where if an exception occurs while running under the debugger, the program will immediately break to the debugger and it will give you a chance to examine the program state...
I tried to find some debugger capable of beeing used on slow networks, like those established via VPN connections.
I ended up with doing ssh and starting jdb on remote server. Using IDE debugger in this case (like Eclipse or JSwat) ended up with hangs and timeouts. I think it was because those debuggers register to too much events.
Ho...
Hi
When debugging a java program in netbeans, I want the debugger to stop on the line that causes a NullPointerException so I can examine the variables there. I believe I have to use a condition on the breakpoint set at that line, but what is the syntax of the condition?
thanks for the help
...
I have a application which takes tcl script as argument. I want to debug tcl script when the application processes it.
My development environment consists of Dynamic Languages Toolkit along with Active state remote debugger -dbgp_tcldebug. I am able to debug the individual tcl scripts with this setup.
I created a tcl project in eclips...
I use a 3rd party DLL in my VB.NET project (VS2005) that responds to slow and give wrong values in debug mode. In run-time mode everything works as expected.
I do understand that there are something going on in the debug mode which makes the DLL communication slow. This behavior makes it hard to debug the application correctly.
Is ther...
Is there a way to put a conditional breakpoint which won't be hit when the method the breakpoint is in is called from other specified method?
(I'm using IDEA 9.0.1)
...
Hi,
I am trying to debug my PHP script. To do so, I use a Windows GUI called "XDebugClient". It's a little clunky but I've been able to manage so far, given that to date I only have a collection of very noddy little PHP scripts. On the global level, I can inspect all variables and it works just fine. Yesterday, I wrote my first PHP f...
Hi!
Does everyone out there knows how can you read windows kernel debugger strings generated by calls to kdPrint or debugPrint functions?
Reading in user mode especially but it is also good in kernel mode!
It's the same thing as DebugView does but I want to filter and to work only with certain messages (strings) given to the debugger!...
Apparently VS 2008 does not allow setting a breakpoint just on the setter of an auto-property.
I.e. if I define an auto-property like this:
public int CurrentFramesize
{
get;
protected set;
}
and then try to set a breakpoint on the setter line, the whole auto-property turns breakpoint-red.
This works j...
I have code like this:
private Box mCurBox;
public Box CurBox
{
get { return mCurBox; }
set
{
if (mCurBox != value)
{
mCurBox = value;
}
}
}
When mCurBox is null then CurBox the debugger says "Could not be evaluated". If it knows tha...
I'm sorry if the question title may mis-inform you, but I cannot find a proper word to explain that.
If you ever working with .NET, you would know that there is Assert class that will automatically wake up and attach debugger if necessary and then have debugger (Visual Studio) pausing at the Assert command, given the Assert command fail...
For extension development, is there a javascript interactive shell , that has intellisense (shows what methods and properties an object has) ?
Or is it possible to do this with the debugger that supports intellisense (maybe VS2008/intellij idea 9 ) ?
...
If so; where can I get it?
...
I have Firefox set as my default browser, but I want to debug the ASP.NET Web Application with IE. Searching SO only shows replies to "Browse with ..." However, this doesn't start the debugger. How would I do this? I remember in an old Visual Studio setting the browser to start with the debugger, but I don't remember how - and where it i...
Hi all,
A project that I've inherited has the following structure:
Project A produces a static library.
Project B produces a static library and links with library A.
Project C produces the executable and links with library B.
When I run app in debug mode, I can successfully debug code within the executable (project C) and the static...
In a Unix world I've been happily using gdb for debugging and valgrind for memory analyzation.
Are there open-source quality alternatives for Windows?
I'm looking for lightweight pieces of software that do what you need, and never get in your way (just like gdb and valgrind).
...
Hi there.
Today I coded a function that uses two nested foreach loops. After seeing, that it did not work like expected, i debugged it. But I dont see an error, and dont think a simple error can cause the behavior i have noticed.
The part looks like this:
foreach(MyClass cItem in checkedListBoxItemList.Items)
{
foreach(MyClass cActi...
In debug | Immediate window, why do i get this error:
szTemp is a local variable at
{,,Util.dll}MySock.Write("%s",szTemp)
CXX0017: Error: symbol "szTemp" not
found
int SomeFunction( ..)
{
char* szTemp = new char[1024];
.
.
---> Breakpoint.. Trying to run the expression here..
.
.
}
...