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 958043
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 16, 20262026-05-16T00:48:06+00:00 2026-05-16T00:48:06+00:00

I just fired up totalview on my hello world application (c++) and i only

  • 0

I just fired up totalview on my “hello world” application (c++) and i only get to view the assembly code.

Is there any settings/flags i need to set to view the source code? Menubar->View->Source As->Source does not work for me.

the application im trying to debug is just a cout << “Hello World” application, just to get the debugger up and running.

  • 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-16T00:48:06+00:00Added an answer on May 16, 2026 at 12:48 am

    Lets start with the simple stuff.

    Did you compile your application with the ‘-g’ debugging flag? The debugger relies on the compiler to provide it with a symbol table and line number table to map what happens in the executable back to your source code. Without that -g flag (or if you subsequently strip your application) that info won’t be present and assembly debugging is the best you can hope for.

    If you did compile with -g are the source and the executable all together in the same directory, or if not have they been moved since you compiled them? The compiler only knows the locations of the source and executable at the time they are created, if you move them around then sometimes the debugger won’t be able to locate the source code file. In that case you might need to give it some help by defining a source code search path.

    Write back here and let me know if -g fixed your problem. If not we can look into the search path and such.

    Cheers,
    Chris

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

Sidebar

Related Questions

Just wondering out loud. Are there any events fired DURING a css3 transition. I
I'm writing a prism application, I've just created my 1st module, fired it all
Just wanted to run this by you all to see if there are any
I just want to write code inside my assembly to detect whether it is
I was just shocked when my application fired an IndexOutOfRanage exception now. I opened
I was wondering if there is any possibility to catch if animation fired during
I've just fixed a very subtle bug in our code, caused by slicing of
Is there an event that fires in vb.net just before a contextMenuStrip appears when
I just downloaded and installed Microsoft Enterprise Library 5.0 . I fired up VS
Ok, I've fired up my debugger in Chrome and I've placed a breakpoint just

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.