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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 4, 20262026-06-04T05:32:55+00:00 2026-06-04T05:32:55+00:00

Usually i start debug a java program by type jdb in terminal, then it

  • 0

Usually i start debug a java program by type jdb in terminal, then it will enter debugging mode, then i can input something like “stop at com.android.contacts.dirtyImport.DirtyImportManager:95” to tell jdb to stop at certain line.

Now here is the question: how can i combine these two cmds input one. Something like “jdb < stop at com.android.contacts.dirtyImport.DirtyImportManager:95”. The reason i have this requirement is that i want to let vim automatic generate debug info and enter debug mode, stop make breakpoint.

  • 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-06-04T05:32:56+00:00Added an answer on June 4, 2026 at 5:32 am

    One option is to prepend a line to the standard input:

    { echo "stop at com.android.contacts.dirtyImport.DirtyImportManager:95"; cat; } | jdb
    

    This starts a subshell ({}) that first prints the given line with echo and then reads the standard input and prints the read lines to the standard output (cat). The whole input is piped into jdb.

    This, however, confuses some programs that distinguish between terminal input and pipe input. In this case, you’ll want to have a look at the program’s reference, as debuggers often support executing commands from a file (as gdb with -x).

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

Sidebar

Related Questions

I'm developping an XNA game and I usually start my application in windowed mode
When debugging my website project I usually go to start options in the web
Usually I don't have problems writing assembly and testing and debugging. But then sometimes
I have been seeing code like this usually in the start of header files:
I usually try to do TDD with not much analysis (no diagrams) before start
I usually define new keybindings in emacs using "C-x (" --> (command kmacro-start-macro) "C-x
I usually start vim from the folder where I have my Makefile and tags
I usually do all my java development on linux, using fedora package manager setting
This is getting really really annoying. I start debugging my web app using Visual
Often in C under gcc , I will start with the following set of

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.