Welcome to Powergui.org - an open source community for Windows Powershell

PowerGUI.org PowerGUI.org and blogs

Forums » PowerGUI User Discussions

Thread: Feature Request - Conditional Debugging

This question is answered. Helpful answers available: 2. Answered answers available: 1.


Permlink Replies: 1 - Pages: 1 - Last Post: Dec 7, 2009 2:42 PM by: Darin Pendergra...
antize


Posts: 122
Registered: 2/21/09
Feature Request - Conditional Debugging
Posted: Dec 3, 2009 7:44 PM
 
  Click to reply to this thread Reply

Debugging support in the PowerGUI script editor is very nice, however I think it can be improved by adding conditional debugging support. More powerful IDE's have this type of feature like Visual Studio and Eclipse but it would be great to at least have limited support for it in PowerGUI. This is especially help if a script is processing many records from a database, users from AD or what have you and just one or two individual items cause problems. Conditional debugging allows setting a break point based on a condition such as when a variable has a certain value or some other specific criteria. This ability speeds up debugging and makes for an overall improved debugging experience.



Darin Pendergraft [Quest]


Posts: 663
Registered: 6/30/06
Re: Feature Request - Conditional Debugging
Posted: Dec 7, 2009 2:42 PM   in response to: antize
 
  Click to reply to this thread Reply

Excellent suggestion Andy.  I have added conditional breakpoints to the enhancement database: CR2903




Legend
MVP: 2501 + pts
Guru: 2001 - 2500 pts
Expert: 751 - 2000 pts
Enthusiast: 31 - 750 pts
Novice: 0 - 30 pts
Moderators
Helpful answer (5 pts)
Answered (10 pts)

Point your RSS reader here for a feed of the latest messages in all forums