DBX is a source-level debugger, product of Oracle Coporation (formally Sun Microsystem) used to control the execution of a program (step by step, breakpoints, ...) and inspect the content of the memory.
Questions tagged [dbx]
111 questions
140
votes
12 answers
Most tricky/useful commands for gdb debugger
Can you post your most tricky and useful commands while you run a debugger like gdb or dbx.

Vijay
- 65,327
- 90
- 227
- 319
50
votes
3 answers
start gdb using a pid
In general i see the process's pid which is running in the background and start dbx on that process using the command dbx -a
similarly how could i do it using gdb?

Vijay
- 65,327
- 90
- 227
- 319
20
votes
8 answers
Solaris Core dump analysis
I use pstack to analyze core dump files in Solaris
How else can I analyze the core dump from solaris?
What commands can be used to do this?
What other information will be available from the dump?

Abu
- 303
- 1
- 4
- 12
12
votes
5 answers
Displaying dereferenced STL iterators in gdb
I have an iterator to a map element, and I would like gdb to show me the values of the "first" and "second" elements of that iterator.
For example:
std::map aMap;
...fill map...
std::map::const_iterator p = aMap.begin();
I…

kchoose2
- 796
- 1
- 6
- 13
7
votes
2 answers
dbx debugger able to pass command line parameters on dbx startup?
I use both GDB and DBX depending on the platform I'm debugging. I need to debug a tool where there are 20 command line parameters that need to be passed. GDB has an option where you can pass these parameters upon gdb startup:
gdb --args ...
I…

Jenner
- 329
- 3
- 12
6
votes
6 answers
Is it possible to create databases programmatically using DBX?
Looks like the TSQLConnection only connects to existing databases, and I could not find another component that allows me to send commands to the database server.
I'm using Delphi 2009 with Firebird and MSSQL.
One idea that came was to connect to a…

Erick Sasse
- 2,779
- 3
- 24
- 30
6
votes
3 answers
C/C++ Question about trace-programming techniques
I have the following question and from a systems perspective want to know how to achieve this easily and efficiently.
Given a task 'abc' that has been built with debug information and a global variable "TRACE" that is normally set to 0, I would like…

BlueCollar
- 151
- 7
6
votes
6 answers
ADO or DBX using Delphi
Which is better (and for what reasons) to use to connect to MS SQL, Oracle or Firebird from a Delphi Win32 application -- ADO or DBX (Database Express)?
Both allow you to connect to the major databases. I like the way ADO does it all with a…
user159959
5
votes
2 answers
Separate dbx connection to a thread
I made a small app that connects to a mysql db using dbx. It works ok with my local mysql server, but it's supposed to work with a remote server.
Connecting to the remote server takes a few seconds, which freezes the app.
So my question is, how can…

Mario
- 51
- 1
4
votes
1 answer
Large executable causes debuggers to hang
I have a C++ binary that is 190 MB in size. When I put this binary into dbx and try to create a breakpoint, dbx hangs. While dbx is hung, I have observed its memory quickly grow to over 10 GB. TotalView allows me to set breakpoints; however, all the…

Hitman
- 123
- 10
4
votes
0 answers
Debugging strategies for libraries open with dlmopen
I have an executable that loads a shared library with dlmopen.
Here is the main.cpp:
int main(int argc, char* argv[]) {
void* h=dlmopen(LM_ID_NEWLM,"libA.so", RTLD_LOCAL | RTLD_NOW);
if(h != 0) {
void (*pPrint)() = (void…

Stephane
- 41
- 1
4
votes
2 answers
Is there a way to configure dbx to treat a blank command as a repeat of the last command?
In gdb, if I just hit return, it repeats the last command. Is there a way to configure Sun/Oracle/Solaris dbx to do likewise?

WilliamKF
- 41,123
- 68
- 193
- 295
3
votes
1 answer
Generate a coredump from crashed process attached to ddd/dbx
I'm running dbx in ddd on Solaris. The attached process has crashed and I can examine the stack in the debugger.
I want to save this core dump to disk for later.
Google shows me several ways to create a core dump but none of them are ddd/dbx…

spraff
- 32,570
- 22
- 121
- 229
3
votes
1 answer
Connecting to MySQL via SSL, using DBExpress
I want to connect to a MySQL server via SSL. More specifically, I want to do that with DbExpress.
I've used SSL to MySQL via ZeosLib in the past. That worked great, but Zeos doesn't let me run stored procedures that return more than one resultset,…

Wouter van Nifterick
- 23,603
- 7
- 78
- 122
3
votes
1 answer
start gvim without it taking focus from the terminal that started it
I would really like to find a way to start gvim without the terminal losing focus.
I found a way to use gvim to display code when debugging in dbx.
Gvim as dbx frontend
This works great but it causes gvim to steal the focus every time it hits a…

Sam Brinck
- 891
- 1
- 7
- 11