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

  • Home
  • SEARCH
  • 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 8857007
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 14, 20262026-06-14T14:29:22+00:00 2026-06-14T14:29:22+00:00

In my app I have a plugin system that allow users to develop plugins

  • 0

In my app I have a plugin system that allow users to develop plugins (in C/C++ dylib) and execute them at runtime (using dlopen/dlsym).

Basically I have a main thread (which is drawing my GUI) and another thread (which is the plugin thread) that is loading/running the plugin.

What I would like to do is to allow the user to debug is plugin in Xcode and keep the main thread running.

I already know that in XCode you can create a dylib project and set in Info > Launch > Wait for ??? to launch (which work great), but the problem Im having with that is:

  1. If the user stop the dylib debugging it close the main application launched (my app, which I don’t want as I want to keep it running).

  2. It stall the main application thread completely (the GUI stop refreshing until the user continue).

Is there any way to still allow the users to use XCode to develop/debug their plugins avoiding the 2 problems above?

Or I’ll have to integrate a text editor and somehow interface clang++/lldb directly inside my app to let the users develop/debug (which sounds to me like alot of work, especially since XCode already have all the functionalities)?

TIA!

  • 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-14T14:29:23+00:00Added an answer on June 14, 2026 at 2:29 pm

    lldb has the ability to run all threads when you step or next, but when you interrupt the program (press Pause), all threads will be stopped. lldb doesn’t currently have any UI to do what you want — there’s no technical limitation but I don’t think I’ve seen a use case that called for this behavior. There was an obscure command added to gdb, thread dont-suspend-while-stepping which would designate a specific thread and tell gdb to allow that thread to run whenever the debugger was step/nexting, but even in that case when you interrupted the program all threads would be stopped..

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

Sidebar

Related Questions

I have this small app that loads plugin type components that other users can
I have written a plugin system that uses an interface and for any plugins
I am developing an plugin for OsiriX . In that app i have 3-4
I have a main app that will have many plugins. Here is the PluginReader
I have a plugin system in my app and I would like to prevent
I have a rails app which requires users to verify that they own a
I am trying to write an plugin system that can load managed plugins. The
We have a plugin system here, written in c++. Now that this has to
My application has a plugin system that allows my users to write their own
I have an app that loads a CFPlugin, not a problem, using the Apple

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.