Jump to content
Xtreme .Net Talk

Recommended Posts

Posted

hey

how do you Check varialbes while Debugging.. without using a messagebox :D

 

i know theres something to do with one of the little tabs on the bottom.. but i cant figure out which one.. i went to the command tab and typed in Console.WriteLine(myvariable) and it said "This type of operation cannot be performed at thsi time" or something like that

 

also.. --> how do you do breakpoints and stuff within your program so you can see its flow of execution

My VB.NET Game Programming Tutorial Site (GDI+, Direct3D, Tetris [coming soon], a full RPG.... you name it!)

vbprogramming.8k.com

My Project (Need VB.NET Programmers)

http://workspaces.gotdotnet.com/ResolutionRPG

Posted

To set a break point just go to the line of code you would like the execution to stop on and click just to the left of the code line.

 

Once the program stops execution you can hover your cursor over any variable and it will tell you what the current value is.

 

To remove the break point just click on the round circle that indicates a break.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...