Compile w/o Run?

Just starting out? Need help? Post your questions and find answers here.
User avatar
Piero
Addict
Addict
Posts: 992
Joined: Sat Apr 29, 2023 6:04 pm
Location: Italy

Compile w/o Run?

Post by Piero »

Is "Compile with/without Debugger" supposed to also Run, or can it be considered a bug?

Would be useful for a tool like this (at least on Mac)
BarryG
Addict
Addict
Posts: 4194
Joined: Thu Apr 18, 2019 8:17 am

Re: Compile w/o Run?

Post by BarryG »

Piero wrote: Sat Sep 20, 2025 12:14 amIs "Compile with/without Debugger" supposed to also Run
Yes. It's always done that for me. Yours doesn't?
User avatar
Piero
Addict
Addict
Posts: 992
Joined: Sat Apr 29, 2023 6:04 pm
Location: Italy

Re: Compile w/o Run?

Post by Piero »

BarryG wrote: Sat Sep 20, 2025 1:47 am
Piero wrote: Sat Sep 20, 2025 12:14 amIs "Compile with/without Debugger" supposed to also Run
Yes. It's always done that for me. Yours doesn't?
IMHO, it shouldn't, because there is Run (and Compile/Run)… and compiling only can be useful (the two Compile-Only should also be included as triggering event for IDE tools)
BarryG
Addict
Addict
Posts: 4194
Joined: Thu Apr 18, 2019 8:17 am

Re: Compile w/o Run?

Post by BarryG »

Oh, I see what you mean. We have "Compile/Run" (or F5) that includes the debugger, but then "Compile with debugger" also does that. Never noticed before.
User avatar
Piero
Addict
Addict
Posts: 992
Joined: Sat Apr 29, 2023 6:04 pm
Location: Italy

Re: Compile w/o Run?

Post by Piero »

Yes, "Compile/Run" depends on the check on the "Use Debugger" menu, or on the status of the Debugger "button" on toolbar…

So I think this can be called a bug, and I also hope it will be easy to implement the triggering events for IDE tools (I think making the existing "Compile/Run" events to work also with compile-only would suffice)
Randy Walker
Addict
Addict
Posts: 1077
Joined: Sun Jul 25, 2004 4:21 pm
Location: USoA

Re: Compile w/o Run?

Post by Randy Walker »

BarryG wrote: Sat Sep 20, 2025 2:42 am Oh, I see what you mean. We have "Compile/Run" (or F5) that includes the debugger, but then "Compile with debugger" also does that. Never noticed before.
Yeah, I never really paid any attention to those options myself. I am so used to using the compile/run and use debugger icons in the toolbar. Those options in the system menu are just extraneous items for me. Only thing I need in that menu is 'compiler options' and 'create executable'.
- - - - - - - - - - - - - - - -
Randy
I *never* claimed to be a programmer.
Post Reply