Watch the voltage rating of all the resistors
if i violated this rule, what could happened? i believe those resistors will die. correct? but not in this case.
You can minimize fireworks if you use a low energy supply for testing. Put two small transformers back to back to make an isolation transformer. Then even if you have an accidental short there won't be enough power available to make flashes or bangs.
thats is certainly a good idea. but my point is the reasom why the bang occured. if i used your method, then everything will be ok until the project completed, every parts are in the board get ready... but then if the root cause is not solved, when the whole circuit is being put in real mains supply, the whole may go bang wasting everything. i dont mind the bangs i kind of used to that its just small wire. i'm trying to figure out this mystery why? but i guess some have already given the possiblities for that.
Now if the components are all OK, the cap will charge up _slowly_.
i havent checked if the cap is charging up properly since i didnt put series resistor. but i did check if it can hold charges, yes it was 330V and slowly discharging.