Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 7062683
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 28, 20262026-05-28T04:37:25+00:00 2026-05-28T04:37:25+00:00

I am trying to write a pretty print routing for dbx on solaris to

  • 0

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. I just want to iterate and print keys and values in [key,value] format. But i cant figure out how to call back dbx’es print routines from db_pretty_print. Any ideas ? Thanks.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-28T04:37:26+00:00Added an answer on May 28, 2026 at 4:37 am

    I don’t think you can integrate with db_pretty_print to do what you want. I would suggest you write a function inside your program which can return a character string containing the hex addresses of the objects you want to print. Inside dbx you can write a shell function which calls your “enumerator” function, then the shell function can split the string, and iterate through the addresses, and apply the dbx print function. I’m assuming you’ll tell dbx to use the C++ RTTI information to dynamically choose the right type for purposes of the print command. For a C or Fortran program, I don’t know how to make dbx dynamically choose the right type for printing.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I'm pretty new to XQuery and I'm trying to write an example function that
I'm pretty new to testing and mocking and i am trying to write a
I'm trying to write a snake game. It's pretty simple, there's an array of
I'm pretty new to MYSQL. I'm trying to write a query which will search
I'm pretty new to assembly, and I was wondering how one would write output
I'm pretty new to both PDO and OOP. I'm trying to write a class
I'm trying to find a way to "pretty print" a JavaScript data structure in
I'm in vb.net and I'm trying to format a print document. One of the
I am trying write a script where when a user clicks on a link,
I m trying write code that after reset set up rrpmax as 3000. It

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.