standalone debugger

Everything else that doesn't fall into one of the other PB categories.
k3pto
User
User
Posts: 87
Joined: Sat Jan 17, 2015 5:24 pm

standalone debugger

Post by k3pto »

Somehow I have accidentally enabled the Standalone Debugger. Every time I execute Compile/Run it come up. I have tried reviewing all the options but did not find anything that I recognized as helpful. How do I get it to stop?
User avatar
skywalk
Addict
Addict
Posts: 4210
Joined: Wed Dec 23, 2009 10:14 pm
Location: Boston, MA

Re: standalone debugger

Post by skywalk »

Open Compiler Options - Compile/Run:
Debugger:
[x] Enable Debugger
[ ] Enable Purifier
[x] Use selected Debugger: Integrated IDE Debugger ;<-- THIS
[ ] Use Warning mode:
The nice thing about standards is there are so many to choose from. ~ Andrew Tanenbaum
k3pto
User
User
Posts: 87
Joined: Sat Jan 17, 2015 5:24 pm

Re: standalone debugger

Post by k3pto »

Hi Skywalk,

Thank you for the suggestion but it did not work. I still get the stand alone debugger.

BTW: I am using the demo version and my program is almost 600 lines. I do not know what PB does when the demo version should no longer work.
User avatar
Demivec
Addict
Addict
Posts: 4260
Joined: Mon Jul 25, 2005 3:51 pm
Location: Utah, USA

Re: standalone debugger

Post by Demivec »

I found the options in a slightly different place than skywalk.

File Menu>Preferences
Debugger: Choose Debugger Type -> select Integrated IDE Debugger from drop-down list


The Compiler Options that skywalk mentions are only for the current file being compiled and may not be effective or available if not enabled in the Preferences to begin with.


Regarding using the demo version on a large source file I believe it simply gives an error that the source size is more than is allowed with the demo version and stops.
k3pto
User
User
Posts: 87
Joined: Sat Jan 17, 2015 5:24 pm

Re: standalone debugger

Post by k3pto »

Hi Demivec,

Thank you for the suggestion. Still no joy :(
User avatar
HeX0R
Addict
Addict
Posts: 1187
Joined: Mon Sep 20, 2004 7:12 am
Location: Hell

Re: standalone debugger

Post by HeX0R »

Did you tick the "request administrator mode" box?
k3pto
User
User
Posts: 87
Joined: Sat Jan 17, 2015 5:24 pm

Re: standalone debugger

Post by k3pto »

Hi HeXOR,

Yes I did and that is the problem - no more standalone debugger! That seems to be a very odd response to asking for admin privileges.

Any idea why they are linked?
User avatar
Shield
Addict
Addict
Posts: 1021
Joined: Fri Jan 21, 2011 8:25 am
Location: 'stralia!
Contact:

Re: standalone debugger

Post by Shield »

It's probably because the IDE isn't allowed to read content from the compiled program,
because the IDE itself has not been run with administrator privileges.

As far as I know, the standalone debugger is included in the EXE so it can access its own data. :)
Image
Blog: Why Does It Suck? (http://whydoesitsuck.com/)
"You can disagree with me as much as you want, but during this talk, by definition, anybody who disagrees is stupid and ugly."
- Linus Torvalds
User avatar
NicknameFJ
User
User
Posts: 90
Joined: Tue Mar 17, 2009 6:36 pm
Location: Germany

Re: standalone debugger

Post by NicknameFJ »

Shield wrote:... the IDE itself has not been run with administrator privileges ...
If you start the IDE with "Run as Administrator"

you can compile/run and debug with the integrated debugger even if Admin mode is requested.

Just tested right now with PB 5.50

Greetings

NicknameFJ
PS: Sorry for my weird english, but english is not my native language.



Image
Post Reply