Questions tagged [dbx]

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.

111 questions
2
votes
2 answers

tb_event_death when single stepping in dbx

When I am single stepping through one thread of a multi threaded program, the debugger gets interrupted with: 0x(some hex ref) : tdb_event_death : ret dbx: thread has exited -- next aborted My guess is a thread somewhere in the program I am…
Chris Huang-Leaver
  • 6,059
  • 6
  • 41
  • 67
2
votes
1 answer

c++ standard library list usage?

Porting a program from linux to solaris, building it with solarisstudio 12.3. It has these definitions: typedef std::list CSocketJobs; typedef CSocketJobs::iterator CJobCursor; CSocketJobs m_socketJobs; and this…
2
votes
1 answer

Catch C++ exceptions on AIX with dbx

I have a C++ application which terminates with a "bad allocation" error message for certain input data on an AIX machine. Is there a way to run the program in dbx and catch the exception when it's being thrown? I don't see anything about it in IBM's…
piokuc
  • 25,594
  • 11
  • 72
  • 102
2
votes
3 answers

Optimized code on Unix?

What is the best and easiest method to debug optimized code on Unix which is written in C? Sometimes we also don't have the code for building an unoptimized library.
Vijay
  • 65,327
  • 90
  • 227
  • 319
2
votes
4 answers

'Unknown column in where clause' in Delphi but not MySQL

I'm about ready to rip my hair out and take up poop flinging as a living! I have a MySQL query which runs fine in MySQL SELECT p.ID AS DataID, p.timestamp AS Timestamp, sum(p.Value * v.Factor) AS Value, v.VirtualProfiles_id AS…
Erik
  • 117
  • 1
  • 9
2
votes
1 answer

DBX: AIX equivalents of the Solaris version

I'm a developer who mostly programs in a solaris environment, though our code is compiled on multiple platforms, including AIX. The most stable debugging tool I have access to on both environments is dbx, and I am quite familiar with in on the…
1
vote
3 answers

source lines while debugging a core dump

In c or c++ While debugging a core dump,i.e., if we are left with a coredump file and try to debug using that core file is there a way we can see the last few lines of code before the dump occured.the stack trace only shows the function call. for…
Vijay
  • 65,327
  • 90
  • 227
  • 319
1
vote
2 answers

How to view the SQL error message in a Delphi's DBX transaction?

I've seen this somewhere in SO some time ago, but I couldn't find it now. I remember that one of the error events in some component (TSQLDataSet, TDataSetProvider, TClientDataSet or else) would give me the error message as returned by the database…
ivarec
  • 2,542
  • 2
  • 34
  • 57
1
vote
1 answer

how do I call dbx'es own print function from a pretty print function for dbx

I am trying to write a pretty print routing for dbx on solaris to pretty print maps. Now the maps may contain elements of (one) arbitrary type. I dont want to know what they are or handle that. I want to let dbx itself figure out how to print them.…
Osada Lakmal
  • 891
  • 2
  • 8
  • 22
1
vote
1 answer

Proprietary DBX File Type

I am trying to mine data out of a .dbx file. This file is NOT associated with Microsoft Outlook Express. It is for a Laboratory Information Management System. Unfortunately their project management skills aren't the best and getting…
cjweitz
  • 33
  • 2
  • 9
1
vote
1 answer

Where is the documentation for writing Eclipse toolchain plugins?

We're running Solaris 2.10 and using the native Solaris build tools (CC & dbx), for which there is no support in Eclipse 8. I up to writing the plugins to support these tools, but I'm having a hard time finding the documentation of the interface…
Steve Broberg
  • 4,255
  • 3
  • 28
  • 40
1
vote
0 answers

For AIX dbx, why is there a syntax error with "set edit emacs" in the .dbxinit command file?

On AIX 7.2, I am using the dbx debugger. Through a command set edit emacs one can enable an "emacs" line editing mode in dbx, which allows you to edit the current command line with keyboard shortcuts like ^A, ^K, ^Y, and so on (similar to what works…
JayK
  • 3,006
  • 1
  • 20
  • 26
1
vote
2 answers

Dumping structure using dbx

I'm debugging my C program using dbx on Solaris, and I'd like to be able to see the contents of a data structure. It's a local data structure in the function that's in scope, so typing "dump" shows a pointer to the structure. However, I'd like to…
thomson_matt
  • 7,473
  • 3
  • 39
  • 47
1
vote
1 answer

Open a DBX and BAT Outlook Files

Hi guys I need to read some email from outlook in a C++ program, after that based on the content of email, I'll decide to reply or not. I suppose I need to open Dbx outlook files, but how? thx
alkz
  • 337
  • 2
  • 7
  • 17
1
vote
0 answers

DBX showing incorrect values in shared library built with -g

-bash-3.2$ uname -a SunOS b2s-sol10spr-1 5.10 Generic_147147-26 sun4v sparc sun4v -bash-3.2$ dbx -V Sun DBX Debugger 8.0 SunOS_sparc 2014/10/21 For information about new features see `help changes' To remove this message, put `dbxenv…
Bwmat
  • 4,314
  • 3
  • 27
  • 42