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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 15, 20262026-06-15T01:42:08+00:00 2026-06-15T01:42:08+00:00

I know I can open a new frame and M+x gdb . But just

  • 0

I know I can open a new frame and M+xgdb. But just doing M+xgdb and having gdb executed in a new frame would be much better.

gdb-many-windows destroy original windows layout when I run it and it can not restore the layout when I kill it. So I want to run it in a new frame and close that frame.

Update: I use (setq gdb-many-windows t). If I invoke gdb, it uses the gdb-many-windows layout automatically.

  • 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-15T01:42:09+00:00Added an answer on June 15, 2026 at 1:42 am

    Here is a simple function to call gdb with many windows in a newly created frame:

    (defun my-gdb-other-frame ()
      (interactive)
      (select-frame (make-frame))
      (call-interactively 'gdb))
    

    Another way I use to solve the window layout problem with gdb-many-windows is to save the different windows configurations to registers. FWIW, here is my workflow:

    1. C-xrwa (save window configuration to register a)

    2. M-xgdbRET

    3. M-xgdb-many-windowsRET

    4. C-xrwb (save the new window configuration to register b)

    Afterwards, I can jump from one window layout to the other using C-xrja and C-xrjb

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

Sidebar

Related Questions

I know JavaScript can open a link in a new window but is it
I'm would like to know how I can open a specific file using a
Do you know what can I use to open page in my application and
I know you can do something like this: readlines(FileName) -> {ok, Device} = file:open(FileName,
Can anyone please help me to know how to open an excel sheet in
I have a query that I know can be done using a subselect, but
Sometimes, I'll end up having to catch an exception that I know can never
You can know if the event stack is empty calling the gtk.events_pending() method, but
Can anybody suggest how we can open the page in new window using Response.Redirect
Here is my current code, but the closeWindow function is executed before the new

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.