[Done] Crash debugging with executable command line

Post bugs related to the IDE here
Rinzwind
Enthusiast
Enthusiast
Posts: 636
Joined: Wed Mar 11, 2009 4:06 pm
Location: NL

[Done] Crash debugging with executable command line

Post by Rinzwind »

I wonder how much testing went into the LTS macOS version... History viewer freezes IDE.

Now this

Simple console program:

Code: Select all

EnableExplicit
OpenConsole()
Define c
c = CountProgramParameters()
PrintN("c: " + c)
PrintN(ProgramParameter())
CloseConsole()
Add value test or whatever to 'executable command line' compiler option and try to debug... PB freezes and has to be force quit (Catalina). File and folder permissions allowed btw. When compiled, the resulting app works fine. Only in the IDE it causes havoc.
wayne-c
Enthusiast
Enthusiast
Posts: 335
Joined: Tue Jun 08, 2004 10:29 am
Location: Zurich, Switzerland

Re: Crash debugging with executable command line

Post by wayne-c »

I can confirm this behavior, as soon as there is a command line argument in the debugger purebasic freezes. This error exists for a longer period already, not only for the latest release.
As you walk on by, Will you call my name? Or will you walk away?
wayne-c
Enthusiast
Enthusiast
Posts: 335
Joined: Tue Jun 08, 2004 10:29 am
Location: Zurich, Switzerland

Re: Crash debugging with executable command line

Post by wayne-c »

Problem still exists in version PB6 Beta 1 (x64). This is really annoying, please fix

Reproduce:
- Add a value in Compiler Options for Command line argument
- One line: Debug ProgramParameter(0)
- Run --> Crash
As you walk on by, Will you call my name? Or will you walk away?
Fred
Administrator
Administrator
Posts: 16619
Joined: Fri May 17, 2002 4:39 pm
Location: France
Contact:

Re: Crash debugging with executable command line

Post by Fred »

Fixed.
Post Reply