debugging

How to examine list of defined functions from Common Lisp REPL prompt

I'm a newbie to lisp. I'm evaluating/testing a browser based application presumably written in common lisp. Apart from the browser based interface, the software provides a 'Listener' window with a 'CL-User >' REPL prompt. I wish to examine the list of functions, symbols, and packages from the REPL prompt. So that I could co-relate the ...

Debugging mvc web application using subdomains in Visual Studio?

If I want to use subdomains for images, stylesheets and javascripts on my website (like img.domain.com), how would you set it up in Visual Studio 2008 so I am able to debug the website on my local computer? Is it possible ? and how ? The webdev server always uses localhost:port, is there anyway to map etc. img.localhost:port to a speci...

debugging 64 bit dumps in visual studio

Is there any way to use visual studio to debug a dump of a 32 bit app that was produced on a 64 bit computer. I have got WinDbg working but the output is so jumbled i cant work out whats going on. Visual Studio 2008 ...

Reason for VS.NET 'current breakpoint will not be hit' warning?

Trying to debug a controllers action method, and when I attach to process the debug icon goes hollow and says the 'current breakpoint will not be hit' But I am doing a response.write at that point and when the page renders it does output the test text. So that section is indeed being executed, why does debug mode not work? ...

Java: How do you access a sub-object of an object with no "getXXX" method to that sub-object

I'll explain with pictures from Eclipse Debugger I have an Class called "FieldContext", (I can't edit it, it's compiled in the Java OVal API) Within "FieldContext" on the eclipse variable tab are "CompileTimeType" and "field" Q1 Is there a legend for the icons in the variables tab? like what the red box with the "F" means + yellow d...

Debugging JSR 168 Portlet with spring, eclipse & pluto.

I am trying to set up a development environment to test Spring Portlet MVC for development of JSR 168 conforming portlets. I have the latest STS installed, which included Spring 2.5 and Eclipse (Catalina). This has been my environment to develop with Spring MVC, and that works fine using Apache as a local server for debugging. I found s...

How to run Visual studio remote debugger in service mode

I want to run the remote debugger of visual studio 2005 in service mode.. It is running fine in application mode, and when in service mode it starts successfully but I can't connect from the remote system.. Is their any special setting required.. Please help me out. ...

Is it normal that running python under valgrind shows many errors with memory?

I've tried to debug memory crash in my Python C extension and tried to run script under valgrind. I found there is too much "noise" in the valgrind output, even if I've ran simple command as: valgrind python -c "" Valgrind output full of repeated info like this: ==12317== Invalid read of size 4 ==12317== at 0x409CF59: PyObject_Fre...

How can i trace changes made to the DOM by JavaScript?

Hi, I have a large website in development with a large amount of JS in different files. I have come across an issue where something is removing a class from the DOM. I can see it when I view source but not in Firebug. Normally I would place some alerts/console.log calls with the hasClass value but because I have no idea where to start ...

Replicate functionality of DbgView in .Net - Global Win32 debug hooks?

Hi, I'm interested in how plausible it would be to capture Win32 debug traces system-wide in the way DbgView does. I'm not interested in Kernel messages thankfully so I don't need any help there. This needs to be in C# but I'm happy with unmanaged/unsafe if necessary. Is there any global hook I can get or am I setting off down a diff...

Where do I use BackTrace calls on the Mac

I want to get a BackTrace from my crashing C++ Mac application however I am new to the Mac and am not sure how best to go about it. I found a question on stackoverflow that details its usage: getting the current stack trace on mac os x However my problem is that I do not see where the code is meant to live? Does it go in the main.cpp...

WinDbg - hunting NullPointerException... - where to go next?

We have some issues on a farm server which crashes several times a day. None of us have experience in WinDbg but my coworker managed to create dumps using adsutil.vbs and now I'm analyzing the dump. Loading the symbols etc I've managed to do - I've then read a bit and tried both !analyze -v and several other commands. Among them I used ...

VS2008 javascript debugger in usercontrol

Hi In a VS2008 web project I have a usercontrol with some javascript that I want to debug. When I try to set a breakpoint I get "This is not a valid location for a breakpoint". I tried this on a regular aspx page and was able to set the breakpoint just fine. Is there some limitation for setting javascript breakpoints in usercontrols? ...

How do I run a Python program?

So I'm starting like Python a bit, but I'm having trouble erm...running it. Lol I'm using IDLE for now, but its no use whatsoever because you can only run a couple of lines at a time. I'm also using Komodo Edit to create the actual .py files. My question is, how can I run the .py files to test out the actual program? I'm using Windo...

Very strange evaluation problem

I'm working on some VB.net code that I inherited and am seeing some very strange behavior when trying to lookup a value in a Interop.Scripting.Dictionary object. Here's the output from my watches. The expressions are in italics and the return values are bolded: oAwayBalanceTeam.Dates("40068") 1 {Integer} Object CStr(Int(oTempBooking.S...

How do I dismiss a modal window created during a Visual Studio 2008 macro?

I am trying to create a macro in Visual Studio 2008 to attach to my local webdev server for an asp.net mvc project. Here's the current macro code: Imports System Imports EnvDTE Imports EnvDTE80 Imports EnvDTE90 Imports System.Diagnostics Imports System.IO Public Module Macros ' This subroutine attaches to the first Development Web...

Debugging and improving the efficiency C# winform code

Hello everyone. I have written a Winform application in C#. How can I check the performance of my code. By that I mean, how can I check which forms references are active at a given time or event, so that I can remove them if they are not required (make them available for garbage collection). Is there a way to do it using VS 2005 or any f...

Debugging JSR 168 portlets.

I would like to ask people their testing strategies for portlet controllers, particularly spring portlet mvc based portlet controllers. Do you use the eclipse debugging function? What kind of portlet container set up do you have in your development environment? ...

What are the best debugging techniques available in visual studio 2008 to save a lot of time finding the exact reason of the problem?

What are the best debugging techniques available in visual studio 2008 to save a lot of time finding the exact reason of the problem? ...

Debugging using Lauterbach (Trace32)

While using trace, I found that a few functions are not listed in the source while trying to find them in order to put a breakpoint. These functions seems to appear only when I view the source in assembly format. I spoke to my seniors, they told me if any function is only called once, it will be optimised by Trace and will appear as inl...