473,396 Members | 1,785 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,396 software developers and data experts.

Application hangs with breakpoint

Hi,

When I use a break point and and than hit F5, my applicaiton continues and
shows a dialog. When I hit a button in the dialog, my application will hang,
inclusive Visual studio, and dialog will be left on the screen (execution
will not go into a button-click handler).

If I don't use a break point, everything works fine.

Envirnoment:
OS is Vista 64,
application is 32,
database Sql Express
MS VS Professional

Any idea? It seems like something could be wrong with memory...
Thanks,

Lubomir
Feb 9 '08 #1
3 1814
On 9 Feb, 01:27, Lubomir <Lubo...@discussions.microsoft.comwrote:
Hi,

When I use a break point and and than hit F5, my applicaiton continues and
shows a dialog. When I hit a button in the dialog, my application will hang,
inclusive Visual studio, and dialog will be left on the screen (execution
will not go into a button-click handler).

If I don't use a break point, everything works fine.

Envirnoment:
OS is Vista 64,
application is 32,
database Sql Express
MS VS Professional

Any idea? It seems like something could be wrong with memory...
Thanks,

Lubomir
try stepping into code and run to cursor to get around the problem
never seen vista/vs p app, but it should not be a mem problem (HW)
that only targets breakpoints... sounds like vs p is damaged in the
debug mode someway
//CY
Feb 9 '08 #2


"ch*******@gmail.com" wrote:
On 9 Feb, 01:27, Lubomir <Lubo...@discussions.microsoft.comwrote:
Hi,

When I use a break point and and than hit F5, my applicaiton continues and
shows a dialog. When I hit a button in the dialog, my application will hang,
inclusive Visual studio, and dialog will be left on the screen (execution
will not go into a button-click handler).

If I don't use a break point, everything works fine.

Envirnoment:
OS is Vista 64,
application is 32,
database Sql Express
MS VS Professional

Any idea? It seems like something could be wrong with memory...
Thanks,

Lubomir

try stepping into code and run to cursor to get around the problem
never seen vista/vs p app, but it should not be a mem problem (HW)
that only targets breakpoints... sounds like vs p is damaged in the
debug mode someway
//CY
I found out that it is related to the 64 bit remote debugger that is invoked
behind the scene bt VS. When I replaced the 64 bits dll with 32, everything
works fine.

Is there any way how to set up from VS IDE that while debugging, the VS
should use 32 bits dll for remote debugger instead of 64? Al my app is set up
for 32 bits OS target - despite them VS is using 64 bits remote debugger for
accessig SQL Express.

Lubomir
Feb 11 '08 #3
On 11 Feb, 18:45, Lubomir <Lubo...@discussions.microsoft.comwrote:
"christ...@gmail.com" wrote:
On 9 Feb, 01:27, Lubomir <Lubo...@discussions.microsoft.comwrote:
Hi,
When I use a break point and and than hit F5, my applicaiton continuesand
shows a dialog. When I hit a button in the dialog, my application willhang,
inclusive Visual studio, and dialog will be left on the screen (execution
will not go into a button-click handler).
If I don't use a break point, everything works fine.
Envirnoment:
OS is Vista 64,
application is 32,
database Sql Express
MS VS Professional
Any idea? It seems like something could be wrong with memory...
Thanks,
Lubomir
try stepping into code and run to cursor to get around the problem
never seen vista/vs p app, but it should not be a mem problem (HW)
that only targets breakpoints... sounds like vs p is damaged in the
debug mode someway
//CY

I found out that it is related to the 64 bit remote debugger that is invoked
behind the scene bt VS. When I replaced the 64 bits dll with 32, everything
works fine.

Is there any way how to set up from VS IDE that while debugging, the VS
should use 32 bits dll for remote debugger instead of 64? Al my app is setup
for 32 bits OS target - despite them VS is using 64 bits remote debugger for
accessig SQL Express.

Lubomir- Dölj citerad text -

- Visa citerad text -
WMware or virtual pc comes to mind, if its a bug in VS then trying to
fix it might just be a waste of time, myself just playing with itanium
IA64 and there you should not try pressing 32 bit code as the
instructions has changed a bit (Also running OpenVMS as OS so its a
bit off), so u are probably running x64, amd:s invention and it will
probably comply to 32bit code but u cant use the adressrange if im
correctly informed.

building for 32 bit, use 32 bit iron.. simple.. get a kvm and stack up
some hardwae under the desk, that always makes the office cleaning
persons happy, lots of cables to get intangled to ;)

Got a W95 (virtual pc, needed for some aincent programs), xp on WM in
a blade somewhere up in the computer room (nice to snapshot and
rollback), NT4 running a couple of VAX emulators, pdp (charon), 2 XP
one in our AD (cant do anything more tha check mail with that) and
anoter in our old domain where im domainadmin and can do whatever...
servers are just some alpha ds20/25 and an I64 just to play with for
now....

I dont think 1 machine will be just the right tool for everything...

Just a suggestion....

nowdays most of the homecomputers have more memory on the grafics than
I use on my VMS servers... a strange strange world...

//CY
Feb 11 '08 #4

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

0
by: Nick LP | last post by:
I have .Net 2003 EA. When I create a simple Windows Form, set a breakpoint, and run it by clicking on "Debug/Start", the debugger hangs. I then have to get out of VS 2003 .Net by using the task...
0
by: Tom Edelbrok | last post by:
With VB.NET in VS 2003 I am using "Sub Main()" as my startup object, and from within Sub Main() I use "Application.Run(MyMainForm)". Essentially I am starting my application and then displaying the...
2
by: sonyram | last post by:
As our application design requires us to use one of the validation API engine which was written on C(so basically all I have is a dll) and I tested calling the functions using small windows...
5
by: Loane Sharp | last post by:
Hi there I've got a hang of a problem ... I'm running the .NET framework (2.0.40903), SQL Server 2000 and SQL Express 2005 on Windows XP Pro on a pretty good and new IBM Thinkpad X41. Some...
4
by: J-T | last post by:
I have my applciation installed in an appplication pool (a worker process) -IIS 6.0-which is defined to be shut down after 20 minutes of being idle.If I put a breakpoint in Application_End method...
12
by: JohnR | last post by:
I have narrowed a problem down to a simple example. A form with two buttons. One EXIT and one FBD. The exit button does an "END" to end the application. The FBD button does a...
0
by: Selvakumar, Information Dynamics | last post by:
After some load increased in ASP.NET applications, antire application hangs and we get the following error trace. Application is is .NET Framework 1.1 with SP1 and OLE DB Provider for oracle by...
6
by: Wayne Smith | last post by:
Hi, We are having a few problems with ASP.Net pages hanging during load when an Application Pool is recycled. To test this we have setup the following ASP.net page which refreshes every 2...
0
by: Simon | last post by:
I have a problem with an application which randomly hangs on site. The symptoms are that the user will click a button - which normally would open a new form (which inevitably will create a socket...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.