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

I'm writing a prism application, I've just created my 1st module, fired it all
just a quick question: I am a CS undergrad and have only had experience
I just downloaded and installed Microsoft Enterprise Library 5.0 . I fired up VS
i have written a simple console application just to try boost::thread, i am a
I have just written a Word Document creation web application using .NET 3.5 which
There doesn't seem to be any tried and true set of best practices to
I've just fired my project clean on new machine and when entering admin I
I just came across this in some code, and I'm rather confused. timer =
I am writing an Android 1.5 application which starts just after boot-up. This is
E.g: My HTML code structure is: <ul> <li class=container_event_click> <div class=child_event_click>click fired but doesn't

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.