Ruby In Steel 1

Back to -Tutorials -Sapphire (Ruby In Steel) Tutorials -Archives -Ruby In Steel 1

Dynamic Debugging In Ruby

How to Change Your Program While Debugging!

With Dynamic Debugging you can modify a program while it is being debugged. For example, here I have created a new variable, treasures in the Immediate Window, and then I’ve added it to the Watch window. The drill-down debugger lets me look inside the variable by hovering over its name or expanding it in one of the debugging views.

Changing the value of a simple variable while debugging may not seem all that remarkable. But how about changing the internal structure of objects right inside one of the debugging windows or even creating completely new objects while stopped at a breakpoint? This is what I mean by ‘dynamic debugging’ and it’s just one of the features that we’ve added to the new version of the Cylon debugger.

If you are used to debugging C#, you may take for granted the ability to change the value of a selected variable while debugging. The Cylon debugger for Ruby not only lets you change the value of a variable...

But also its data type...

It doesn’t need to be a simple data type either. You could change a simple String variable, for example, into any object type...

...such as an instance of a custom class...

You can even evaluate code to create new objects right inside the watch window...

Or, using the immediate window you could create new variables and assign new objects to them...

...which can then be watched in the other debugging windows...

This is a simple example of a very powerful capability - allowing you to perform complex tests and trials by modifying a program during an active debugging session.

For more information on the debugging enhancements in Cylon 1.2 see ‘Ruby Debugger Enhancements - Conditional Breakpoints, Tracepoints and more’.

Bookmark and Share   Keywords:  debugger
© SapphireSteel Software 2014
avanafil stendra buy mirtazepine buy rifagut lasix for sale order dilantin armodafinil for sale rogaine shampoo 60ml buy generic femara order azithromycin order imatib buy gleevec 100mg tadalafil garlic himalaya cernos gel for sale order rapacan suhagra sildenafil citrate buy lenalidomide testosterone undecanoate 40mg buy cipro buy generic ketasma buy generic arpizol buy generic modvigil buy sildenafil citrate 100mg buy amitriptyline buy generic ciplactin buy generic topirol order urimax nizonide buy avagra online tadaga for sale natamet buy sildenafil citrate buy doxycycline buy generic fertyl super buy naltrexone online buy generic tenofovir + emtricitabine irovel for sale conjugated estrogens buy admenta online buy cialis 20mg buy tadasoft online buy x-vir online buy armod online voltaren 50mg buy waklert order modalert viagra duprost for sale buy quetiapine online order veenat tadalafil 20mg xtane exemestane buy generic gefitinib flagyl 400mg soranib for sale malegra tadarise pro sulpitac for sale levitra 20mg buy forzest order prosteride buy generic viagra order bupropion buy lumigan online buy cernos capsules online arcalion sulbutiamine for sale order sildisoft buy naltroxene online buy mestilon online kamagra 100mg buy sustanon online order sildenafil citrate jelly buy vardenafil atorvastatin for sale xenical buy cilostazol 100mg auvitra buy bortenat online buy fludrocortisone online calaptin buspin 10mg erlonat buy fertyl 50mg generic sirolimus rapamune buy femalegra buy baclof online order eriacta buy flagyl 200mg buy generic simvastatin fluka 150mg buy generic melanocyl nexium buy snovitra 20mg order omeprazole buy ranitidine buy amlodipine besylate online caverta buy normabrain online buy malegra fxt 100/40mg order modafresh enalapril maleate vasotec vibramycin buy pelosta online buy sildenafil citrate order oleanz buy bupron sr buy generic amlodac buy memantine 10mg buy zhewitra online buy attentrol online valif verdenafil buy fluorouracil buy super p force online buy cutivate cream calutide 50mg aldactone 25 mg sildenafil citrate oral jelly 100mg buy generic tenofovir hostacycline aventis buy anastrazole buy baclofen online lithosun sr 400mg super kamagra buy sildigra buy tadalafil online generic nuvigil buy amiloride 5/50mg order filagra super active buy acamprol buy finasteride buy tadalafil online qutipin sr for sale terbicip for sale a-ret gel for sale buy generic isotretinion buy tadalafil online buy cernos depot sildigra xl plus apcalis jelly buy generic ampicillin buy avana 100mg finpecia 1mg careprost bimatoprost opthalmic drops buy tadalafil online buy prednisolone online buy fluconazole flutivate cream for sale buy malegra professional buy cabergoline online tadalafil super active cialis super active viraday 300mg poxet 60mg quinine sulphate 300mg tizan buy rasagiline mesylate online buy levipil malegra dxt sildenafil citrate buy rizact bactrim d.s buy vega online order piracetam