Jump to content
Xtreme .Net Talk

Recommended Posts

Posted

Some thing happend to my app. and breakpoint does't effect the debug, it is just not stopping!!!

 

I tryed to play with the debug settings and didn't find the way to do it.

 

it is working in other solutions. do you have a solution for me?

Posted

Must sound stupid, but i mention it anyway,

 

have you perhaps put it in release mode ?

 

go to build..

configurationmanager..

 

and check that it is in debug mode

 

vincent

  • 2 weeks later...
Posted

A typical error of me would be to put a breakpoint in a routine that I think would be executed, but in fact it never is.

 

Have you checked that (with a debug.assert(false) or whatever) ?

.nerd
  • *Experts*
Posted

Try switching from Debug to Release, then back to Debug.

 

In Form_Load put the following:

Debug.WriteLine("Hello World")

 

When running, open the Output window (ctrl-alt-o) and see if you see the words "Hello World". If not, you're probably not really in Debug mode.

 

-Nerseus

"I want to stand as close to the edge as I can without going over. Out on the edge you see all the kinds of things you can't see from the center." - Kurt Vonnegut
  • 2 years later...
Posted

I have the same problem

 

I have the same problem but I has tried all and I don't get good result...

 

I discovered that if I build all my components I get the ability to debug

again, but It's frustrating and tedious and I lost a lot time because I have

a lot projects.

 

I need a urgent solution at this problem!!!

 

Try switching from Debug to Release, then back to Debug.

 

In Form_Load put the following:

Debug.WriteLine("Hello World")

 

When running, open the Output window (ctrl-alt-o) and see if you see the words "Hello World". If not, you're probably not really in Debug mode.

 

-Nerseus

Posted
Unfortunatly, .Net doesn't seem to work like VB 6, were you can just 'run' and it builds for you. You have to build (i usually re-build), to see new changes. I could be wrong tho.

Me = 49% Linux, 49% Windows, 2% Hot gas.

 

...Bite me.

 

My Site: www.RedPierSystems.net

-.net, php, AutoCAD VBA, Graphics Design

  • Leaders
Posted
VB .Net, by default, saves all your open documents and builds when you click the "run" button. This behavior can be modified by going to Tools>Options>Environment\Projects and Solutions\.
[sIGPIC]e[/sIGPIC]
Posted

I found a temporary solution

 

I found a temporary solution at my problem, I discovered that if I set three breakpoints in the function/sub the program stops in the first breakpoint.

 

If I set one or two breakpoints the program doesn't stop.

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...