[vwnc] it's possible to disable a subsystem on application startup?

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
5 messages Options
Reply | Threaded
Open this post in threaded view
|

[vwnc] it's possible to disable a subsystem on application startup?

giorgiof
 Hi,

do you know if there is some way to disable a subsystem startUp event (or  disable a subsystem) on some way when image start?
If you leave a bad code on the startUp method, the image get locked and you have to throw it away.

It happened do me when I left an self halt on a method called by startUp of my application subsystem.
It would be nice if it would possible to disable it by command line just in case.

ciao

Giorgio

_______________________________________________
vwnc mailing list
[hidden email]
http://lists.cs.uiuc.edu/mailman/listinfo/vwnc
Reply | Threaded
Open this post in threaded view
|

Re: [vwnc] it's possible to disable a subsystem on application startup?

Terry Raymond

Giorgio

 

Well, you could use probes instead of halts and then set the

conditional expression in such a way you can cause it to return

false when you set a parameter.

 

Terry

===========================================================
Terry Raymond
Crafted Smalltalk
80 Lazywood Ln.
Tiverton, RI  02878
(401) 624-4517      [hidden email]
<http://www.craftedsmalltalk.com>
===========================================================


From: [hidden email] [mailto:[hidden email]] On Behalf Of giorgio ferraris
Sent: Monday, November 17, 2008 6:17 AM
To: vwnc NC
Subject: [vwnc] it's possible to disable a subsystem on application startup?

 

 Hi,

do you know if there is some way to disable a subsystem startUp event (or  disable a subsystem) on some way when image start?
If you leave a bad code on the startUp method, the image get locked and you have to throw it away.

It happened do me when I left an self halt on a method called by startUp of my application subsystem.
It would be nice if it would possible to disable it by command line just in case.

ciao

Giorgio


_______________________________________________
vwnc mailing list
[hidden email]
http://lists.cs.uiuc.edu/mailman/listinfo/vwnc
Reply | Threaded
Open this post in threaded view
|

Re: [vwnc] it's possible to disable a subsystem on application startup?

Alan Knight-2
In reply to this post by giorgiof
Hmm. If the subsystem is one that runs after ImageConfigurationSystem, then you can run -doits, and you could do something like -doit "MySystem canActivate: false". However, I suspect that if the system runs that late in startup, then a halt would also just give you a debugger, and you can proceed it, so you'd be ok anyway.

At 06:17 AM 11/17/2008, giorgio ferraris wrote:
 Hi,

do you know if there is some way to disable a subsystem startUp event (or  disable a subsystem) on some way when image start?
If you leave a bad code on the startUp method, the image get locked and you have to throw it away.

It happened do me when I left an self halt on a method called by startUp of my application subsystem.
It would be nice if it would possible to disable it by command line just in case.

ciao

Giorgio
_______________________________________________
vwnc mailing list
[hidden email]
http://lists.cs.uiuc.edu/mailman/listinfo/vwnc

--
Alan Knight [|], Engineering Manager, Cincom Smalltalk

_______________________________________________
vwnc mailing list
[hidden email]
http://lists.cs.uiuc.edu/mailman/listinfo/vwnc
Reply | Threaded
Open this post in threaded view
|

Re: [vwnc] it's possible to disable a subsystem on application startup?

giorgiof
In reply to this post by Terry Raymond
Hi, Terry,

yes, I know, but that halt was there ... from probably VSE time... I loaded some old code from my stuff and ..voila'!

thanks any case

Ciao

Giorgio

On Mon, Nov 17, 2008 at 1:37 PM, Terry Raymond <[hidden email]> wrote:

Giorgio

 

Well, you could use probes instead of halts and then set the

conditional expression in such a way you can cause it to return

false when you set a parameter.

 

Terry

===========================================================
Terry Raymond
Crafted Smalltalk
80 Lazywood Ln.
Tiverton, RI  02878
(401) 624-4517      [hidden email]
<http://www.craftedsmalltalk.com>
===========================================================


From: [hidden email] [mailto:[hidden email]] On Behalf Of giorgio ferraris
Sent: Monday, November 17, 2008 6:17 AM
To: vwnc NC
Subject: [vwnc] it's possible to disable a subsystem on application startup?

 

 Hi,

do you know if there is some way to disable a subsystem startUp event (or  disable a subsystem) on some way when image start?
If you leave a bad code on the startUp method, the image get locked and you have to throw it away.

It happened do me when I left an self halt on a method called by startUp of my application subsystem.
It would be nice if it would possible to disable it by command line just in case.

ciao

Giorgio



_______________________________________________
vwnc mailing list
[hidden email]
http://lists.cs.uiuc.edu/mailman/listinfo/vwnc
Reply | Threaded
Open this post in threaded view
|

Re: [vwnc] it's possible to disable a subsystem on application startup?

Terry Raymond
In reply to this post by giorgiof

This does point out another aspect of startup. The gui portion of

the debug system is not ready for use until later in the startup process.

 

Maybe Cincom should modify the system so things like #halt and breakpoints

are disabled until the system can handle them.

 

Terry

===========================================================
Terry Raymond
Crafted Smalltalk
80 Lazywood Ln.
Tiverton, RI  02878
(401) 624-4517      [hidden email]
<http://www.craftedsmalltalk.com>
===========================================================


From: [hidden email] [mailto:[hidden email]] On Behalf Of giorgio ferraris
Sent: Monday, November 17, 2008 6:17 AM
To: vwnc NC
Subject: [vwnc] it's possible to disable a subsystem on application startup?

 

 Hi,

do you know if there is some way to disable a subsystem startUp event (or  disable a subsystem) on some way when image start?
If you leave a bad code on the startUp method, the image get locked and you have to throw it away.

It happened do me when I left an self halt on a method called by startUp of my application subsystem.
It would be nice if it would possible to disable it by command line just in case.

ciao

Giorgio


_______________________________________________
vwnc mailing list
[hidden email]
http://lists.cs.uiuc.edu/mailman/listinfo/vwnc