Can anyone tell me how to do runtime debugging on shared libraries?
I need to runtime-debug a function in my shared library, but its called by another program.
How can I do something like dbx with shared libraries?
I m using dbx on AIX.
is gdb better than dbx for what I m trying to do?.
...
I'm trying to track down the cause of performance bottlenecks in an application I'm debugging under Linux. The various processes involved seem to spend a lot of their time blocking on I/O requests, and I was wondering if anybody knew any Linux tricks that let you see why a particular process is blocked/what resource it's waiting for? Is ...
I would like to inspect the contents of an OSDictionary from my kext.
is there a convenient way to print the contents to system.log or similar?
(ala CFShow()) ?
thx->adv,
|K<
...
II'd like to use Visual Studio to break whenever a record is inserted into a certain table, so I can see the values being inserted and the call stack from that moment. Is that possible, or am I stuck with stored procedure debugging only?
...
Hello,
I am trying to fix a bug on an ActiveX control. Is it possible to debug it from within Visual Studio 2008?
...
I never had this problem before, but I reinstalled my computer recently and Visual Studio is not behaving well in debug for an ASP.NET site.
I am attaching visual studio 2008 to the w3wp process to debug a website. When I am debugging a method line by line with F10, sometimes visual studio will decide that it continues until it encount...
We recently pushed a web application (tomcat 5.5.x web app) into production and it started exhibiting odd behavior today. We don't see this behavior in any development or pre-production environment.
Our only view into the production system at runtime is logging. Although they can tell us what happened they can't really help us diagnose ...
Do you have a favorite site or homegrown page in your toolbox to help you during development of your Javascript?
Something to help you:
validate
run
debug, inspect
unit test
Looking for somewhere to paste my JS into, click a Run button, and have it evaluate the statements. This might be for simple snippets for manipulation of numbe...
Is there any easy way to view the data in an STL std::list<T> in the Metrowerks CodeWarrior debugger? I can view data near the beginning or end of the list by looking at expressions such as
instances->__list_imp.__list_deleter.end_.compressed_pair_imp.second_.prev_->data_
I can expand the little '+' signs next to the struct members t...
Hi,
I have a simple solution with a windows client and a website. The website exposes a web service that the windows client consumes. So far so good. Here's the weird part. When running my solution in VS, the call to the web service doesn't work when I hit CTRL + F5 unless I run it with a simple F5 first. So each time I open the solutio...
Hi,
I'm using VS2008, in a normal mid-size solution.
Sometimes, debug stepping becomes very slow. A padlock gets rendered on the every file tab for every "step" (F10/F11), and it can take up to two seconds for every step. That makes debugging very annoying and slow. Has anyone seen this problem?
...
I'm currently trying to create a macro to help me debug an annoying JavaScript issue. There's a function that's getting called and it's throwing an exception. I've tried stepping through to find out what code is calling this function (because it shouldn't be called) but the third-party controls we're using and jQuery are creating a mount...
I have an embedded system that has multiple (>20) tasks running at different priorities. I also have watchdog task that runs to check that all the other tasks are not stuck. My watchdog is working because every once in a blue moon, it will reboot the system because a task did not check in.
How do I determine which task died?
I can't ...
Is there a simple command line utility to inspect binaries like executable and dynamic libraries to tell if they are release or debug versions? Is there anything like that on *nix or windows?
...
Hi All,
I have a rails application that about 3 years old, and I'm having a problem with my pages making too many queries. Every page that loads has several lines that look like this:
ReqTdsLink Columns (1.0ms) SHOW FIELDS FROM `req_tds_links`
what sort of method call would cause this output in the log? I can't find any before fil...
It would be very beneficial to me to be able to monitor my app while stepping through code so that I could pinpoint what step was causing something on the screen to happen. However whenever I am stepping through code the browser just looks blank white. Does anyone know if there is a way to view your application as you step through code? ...
I know of the ruby gem "ruby-debug" that allows you to place a debugger call inside your code. Using it, it's possible to have breakpoints in your code.
I used script/console a bit for some tests, and I would like to know if I can call it from my code.
Thanks !
EDIT:
here is some sample ruby code
require "ruby-debug"
[1,2,3,4,5]....
I'm porting a game to Android (there's a lot of code and very little of it is mine), and DalvikVM is telling me (through LogCat) all about the garbage collection. At some point in the code, I get a stream of "GC freed x objects / x ms" messages, basically informing me that ~150,000 objects have just been deleted and it's taking a full se...
How would you prevent chunks of debugging code from accidentally leaking into production enviroment when using Progress 4GL?
...
In my routes.rb file I have a number of routes. I would like to know which one got matched for any request a user may have made.
For example, in routes.rb you have the following routes :
map.connect ":controller/:action"
map.connect ":controler/:action/:id"
and if I have a controller named a and an action named first, when a user g...