Login

Recover Your Password

Welcome

Bring Your Vision To Life

We provide software and services that enable our customers and partners to turn advanced technology into real solutions.

What We Do

Contensive works as a team member with client partners, providing the highest level of technical competence and support in the design, production, management & lifecycle support of online applications.

api illustration
API Integration

You name it, we can integrate it

mobile development illustration
Mobile App Development

Custom mobile apps that can do everything

cloud app dev illustration
Cloud Application Development

Customized applications with the features you need

cloud host illustration
Best-In-Class Cloud Hosting

AWS platform, the leader in cloud computing

life cycle illustration
Life Cycle Management

Continuous monitoring, user support, and training

business process illustration
Business Process Automation

Streamline your operations and increase efficiencies

Let’s work on a solution to your problem today!

Process

Agile Software Development Process

Benefits

Why You Should Choose Contensive

The greatest product we offer is our experienced team and our dedication to real-world, time-tested principles: a realistic budget, a disciplined process, and enough flexibility and creativity to accommodate any requirement.

contensive favicon
Proven Development Process

Our agile scrum process allows total transparency

contensive favicon
Time Tested Principles

We follow best practices to get the best results

contensive favicon
Realistic Budget

Payment options that will help you succeed

contensive favicon
Expertise

30+ year history of customer success and profitability

contensive favicon
Talented Team Members

Each developer has disparate skill sets & decades of experience

Experience

Contensive’s Experience

Contensive provides software and services that enable our customers and partners to turn advanced technology into real solutions.

100k+

e-commerce transactions a month

1st

Website allowed in the chamber of US Supreme Court

8 years

Average relationship with client

600+

Websites and applications created

30+

years of experience

300k+

People visiting our applications

Contact Us

Questions?
Call Us (703)-251-0624

Tech Support
support@contensive.com

Return to Product Support > Learning Center > Developer References > Developer Tutorials > Single-Step Debugging a Visual Studio Assembly

Single-Step Debugging a Visual Studio Assembly

This tutorial shows you how to debug a dot net assembly used as an addon in a Contensive site.

You should already have completed the tutorial Integrating a Visual Studio Assembly into an Addon CollectionThis tutorial starts where this previous tutorial left off. 

Set a Break Point to single-step through your code.

  1. Open your development website to the Admin site

    Admin Navigator >> Manage Add-ons >> Sample Collection >> Click on Sample Addon

    Your sample addon runs and displays the text returned from the Visual Studio Assembly. The default string was "Visual Studio Contensive Addon - OK Response"

  2. Open the Visual Studio solution for this addon.

  3. Set a breakpoint in the code (put the cursor on the line and hit F9). I set it on the returnHtml line.

Attach the Visual Studio Debugger to the running process and break on the break-point

  1. Open a command prompt "As Administrator" and run IISReset.

  2. Build the project.

    If you get an error copying in the post-build step of the build, make sure you have not hit site since the last IISReset. You may need to reset again.

  3. In your browser, hit a page on your website. 

  4. Go to Visual Studio and attach to the new IIS Process you just created by hitting a page.

    In Visual Studio, click the Tools menu

    Click the Attach to Process (Ctrl-Alt-P)

    If your development site runs on PHP, the process(es) will be php-cgi.exe. Be sure to attach to all processes you find.

  5. Go back to your site and hit the page that includes your addon. The Visual Studio break point hits and you can single-step through your assembly code.

If you followed these steps and the breakpoint does not hit

  1. Try again.
  2. In the Attach to process dialog, verify a new process has not started. If so, select it as well and hit the page again.
  3. In the Attach to Process dialog, under Attach To:, open the Select Code Type dialog and try both Automatic (the default), and "Managed (v2.0, v1.1, v1.0)"